Correct misleading debugging output
Usually, debug messages beginning with "=> and "<=" match up and indicate entering of and returning from functions, respectively. This commit fixes one exception to this rule in mbedtls_ssl_read_record(), which sometimes printed two messages of the form "<= XXX".
This commit is contained in:
parent
327c93b182
commit
02f5907499
@ -4322,7 +4322,7 @@ int mbedtls_ssl_read_record( mbedtls_ssl_context *ssl,
|
||||
}
|
||||
else
|
||||
{
|
||||
MBEDTLS_SSL_DEBUG_MSG( 2, ( "<= reuse previously read message" ) );
|
||||
MBEDTLS_SSL_DEBUG_MSG( 2, ( "reuse previously read message" ) );
|
||||
ssl->keep_current_message = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user