mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-11 03:55:31 +00:00
cli/srv ex: Add dbg msg if record checking gives inconsistent result
This commit is contained in:
parent
c2b08d1251
commit
83b8c3b8eb
|
@ -557,8 +557,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 )
|
||||
|
|
|
@ -689,8 +689,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 )
|
||||
|
|
Loading…
Reference in a new issue