Remove misleading comment in mbedtls_ssl_decrypt_buf()

The comment doesn't seem to relate to the code that follows.
This commit is contained in:
Hanno Becker 2019-07-10 09:49:56 +01:00
parent 47ebaa2205
commit e2b786d40f

View file

@ -2627,9 +2627,6 @@ int mbedtls_ssl_decrypt_buf( mbedtls_ssl_context *ssl,
unsigned char iv[12];
size_t explicit_iv_len = transform->ivlen - transform->fixed_ivlen;
/*
* Compute and update sizes
*/
if( rec->data_len < explicit_iv_len + transform->taglen )
{
MBEDTLS_SSL_DEBUG_MSG( 1, ( "msglen (%d) < explicit_iv_len (%d) "