mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-24 17:25:39 +00: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…
Reference in a new issue