mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
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:
@ -2627,9 +2627,6 @@ int mbedtls_ssl_decrypt_buf( mbedtls_ssl_context *ssl,
|
|||||||
unsigned char iv[12];
|
unsigned char iv[12];
|
||||||
size_t explicit_iv_len = transform->ivlen - transform->fixed_ivlen;
|
size_t explicit_iv_len = transform->ivlen - transform->fixed_ivlen;
|
||||||
|
|
||||||
/*
|
|
||||||
* Compute and update sizes
|
|
||||||
*/
|
|
||||||
if( rec->data_len < explicit_iv_len + transform->taglen )
|
if( rec->data_len < explicit_iv_len + transform->taglen )
|
||||||
{
|
{
|
||||||
MBEDTLS_SSL_DEBUG_MSG( 1, ( "msglen (%d) < explicit_iv_len (%d) "
|
MBEDTLS_SSL_DEBUG_MSG( 1, ( "msglen (%d) < explicit_iv_len (%d) "
|
||||||
|
Reference in New Issue
Block a user