mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-09 23:26:29 -04: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:
parent
47ebaa2205
commit
e2b786d40f
@ -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) "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user