mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-18 14:42:24 +00:00
Omit debug output in ssl_load_buffered_message outside a handshake
This commit is contained in:
parent
0d4b376ddf
commit
e00ae375d3
@ -4373,11 +4373,11 @@ static int ssl_load_buffered_message( mbedtls_ssl_context *ssl )
|
|||||||
mbedtls_ssl_hs_buffer * hs_buf;
|
mbedtls_ssl_hs_buffer * hs_buf;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> ssl_load_buffered_messsage" ) );
|
|
||||||
|
|
||||||
if( hs == NULL )
|
if( hs == NULL )
|
||||||
return( -1 );
|
return( -1 );
|
||||||
|
|
||||||
|
MBEDTLS_SSL_DEBUG_MSG( 2, ( "=> ssl_load_buffered_messsage" ) );
|
||||||
|
|
||||||
if( ssl->state == MBEDTLS_SSL_CLIENT_CHANGE_CIPHER_SPEC ||
|
if( ssl->state == MBEDTLS_SSL_CLIENT_CHANGE_CIPHER_SPEC ||
|
||||||
ssl->state == MBEDTLS_SSL_SERVER_CHANGE_CIPHER_SPEC )
|
ssl->state == MBEDTLS_SSL_SERVER_CHANGE_CIPHER_SPEC )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user