From 5b7c7caee6488082919d4b047fa77eec89381562 Mon Sep 17 00:00:00 2001 From: Jerry Yu Date: Sat, 23 Jul 2022 10:45:12 +0800 Subject: [PATCH] fix wrong condition issues Signed-off-by: Jerry Yu --- tests/suites/test_suite_ssl.function | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/suites/test_suite_ssl.function b/tests/suites/test_suite_ssl.function index 33e0bdb0e..7f78e4d43 100644 --- a/tests/suites/test_suite_ssl.function +++ b/tests/suites/test_suite_ssl.function @@ -4809,7 +4809,7 @@ void ssl_serialize_session_save_load( int ticket_len, char *crt_file, original.resumption_key_len ) == 0 ); } #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 ); }