mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-07-09 12:40:36 +00:00
Improve debugging output
This commit is contained in:
parent
fbaeea4693
commit
6e052b0fbe
|
@ -1261,7 +1261,8 @@ static int ssl_encrypt_buf( mbedtls_ssl_context *ssl )
|
||||||
|
|
||||||
if( ssl->out_msglen > MBEDTLS_SSL_MAX_CONTENT_LEN )
|
if( ssl->out_msglen > MBEDTLS_SSL_MAX_CONTENT_LEN )
|
||||||
{
|
{
|
||||||
MBEDTLS_SSL_DEBUG_MSG( 1, ( "Record content too large, maximum %d",
|
MBEDTLS_SSL_DEBUG_MSG( 1, ( "Record content %u too large, maximum %d",
|
||||||
|
(unsigned) ssl->out_msglen,
|
||||||
MBEDTLS_SSL_MAX_CONTENT_LEN ) );
|
MBEDTLS_SSL_MAX_CONTENT_LEN ) );
|
||||||
return( MBEDTLS_ERR_SSL_BAD_INPUT_DATA );
|
return( MBEDTLS_ERR_SSL_BAD_INPUT_DATA );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue