mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 17:25:37 +01:00
Merge branch 'development' into development-restricted
This commit is contained in:
commit
227366b4b0
@ -0,0 +1,2 @@
|
|||||||
|
Bugfix
|
||||||
|
* Add missing arguments of debug message in mbedtls_ssl_decrypt_buf.
|
@ -1384,7 +1384,9 @@ int mbedtls_ssl_decrypt_buf( mbedtls_ssl_context const *ssl,
|
|||||||
/* Check that there's space for the authentication tag. */
|
/* Check that there's space for the authentication tag. */
|
||||||
if( rec->data_len < transform->taglen )
|
if( rec->data_len < transform->taglen )
|
||||||
{
|
{
|
||||||
MBEDTLS_SSL_DEBUG_MSG( 1, ( "msglen (%d) < taglen (%d) " ) );
|
MBEDTLS_SSL_DEBUG_MSG( 1, ( "msglen (%d) < taglen (%d) ",
|
||||||
|
rec->data_len,
|
||||||
|
transform->taglen ) );
|
||||||
return( MBEDTLS_ERR_SSL_INVALID_MAC );
|
return( MBEDTLS_ERR_SSL_INVALID_MAC );
|
||||||
}
|
}
|
||||||
rec->data_len -= transform->taglen;
|
rec->data_len -= transform->taglen;
|
||||||
|
Loading…
Reference in New Issue
Block a user