1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

cli/srv ex: Add dbg msg if record checking gives inconsistent result

This commit is contained in:
Hanno Becker
2019-07-24 13:59:07 +01:00
committed by Jarno Lamsa
parent b7d1dffcc9
commit 91f8327e40
2 changed files with 4 additions and 4 deletions

View File

@ -793,8 +793,8 @@ static int ssl_check_record( mbedtls_ssl_context const *ssl,
ret_repeated = mbedtls_ssl_check_record( ssl, tmp_buf, len );
if( ret != ret_repeated )
{
ret = -1;
goto exit;
mbedtls_printf( "mbedtls_ssl_check_record() returned inconsistent results.\n" );
return( -1 );
}
switch( ret )