mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 09:45:38 +01:00
Fix another wrong check for errors in test code
This commit is contained in:
parent
5363e1f496
commit
081b15231f
@ -759,7 +759,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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user