From 4a36dd3da6fbef954a4cc1804d56eb1a0045f2da Mon Sep 17 00:00:00 2001 From: Przemyslaw Stekiel Date: Tue, 25 Jan 2022 00:43:58 +0100 Subject: [PATCH] ssl test ssl_decrypt_non_etm_cbc(): add missing ret check Signed-off-by: Przemyslaw Stekiel --- tests/suites/test_suite_ssl.function | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/suites/test_suite_ssl.function b/tests/suites/test_suite_ssl.function index 4635b65f7..1d6370205 100644 --- a/tests/suites/test_suite_ssl.function +++ b/tests/suites/test_suite_ssl.function @@ -3592,6 +3592,8 @@ void ssl_decrypt_non_etm_cbc( int cipher_type, int hash_id, int trunc_hmac, MBEDTLS_SSL_MINOR_VERSION_3, 0 , 0 ); + TEST_ASSERT( ret == 0 ); + /* Determine padding/plaintext length */ TEST_ASSERT( length_selector >= -2 && length_selector <= 255 ); block_size = t0.ivlen;