mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-04 15:39:53 +00:00
fix wrong condition issues
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
3419107e8d
commit
5b7c7caee6
@ -4809,7 +4809,7 @@ void ssl_serialize_session_save_load( int ticket_len, char *crt_file,
|
|||||||
original.resumption_key_len ) == 0 );
|
original.resumption_key_len ) == 0 );
|
||||||
}
|
}
|
||||||
#if defined(MBEDTLS_HAVE_TIME) && defined(MBEDTLS_SSL_SRV_C)
|
#if defined(MBEDTLS_HAVE_TIME) && defined(MBEDTLS_SSL_SRV_C)
|
||||||
if( endpoint_type == MBEDTLS_SSL_IS_CLIENT)
|
if( endpoint_type == MBEDTLS_SSL_IS_SERVER)
|
||||||
{
|
{
|
||||||
TEST_ASSERT( original.start == restored.start );
|
TEST_ASSERT( original.start == restored.start );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user