From b40799035b02da0348e6432a2e5e80fe0e5d95ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Fri, 24 May 2019 09:52:10 +0200 Subject: [PATCH] Fix another wrong check for errors in test code --- 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 1c5f67c164..f1a793bda0 100644 --- a/tests/suites/test_suite_ssl.function +++ b/tests/suites/test_suite_ssl.function @@ -789,7 +789,7 @@ void ssl_serialise_session_load_save( int ticket_len, char *crt_file ) /* Allocate second buffer and serialise to it */ buf2 = mbedtls_calloc( 1, len0 ); - TEST_ASSERT( buf1 != NULL ); + TEST_ASSERT( buf2 != NULL ); TEST_ASSERT( mbedtls_ssl_session_save( &session, buf2, len0, &len2 ) == 0 );