Finish test in pkwrite

This commit is contained in:
Manuel Pégourié-Gonnard 2015-08-19 10:24:34 +02:00
parent e50f67c18a
commit 38db006e0c

View File

@ -58,7 +58,7 @@ void pk_write_key_check( char *key_file )
TEST_ASSERT( mbedtls_pk_parse_keyfile( &key, key_file, NULL ) == 0 );
ret = mbedtls_pk_write_key_pem( &key, buf, sizeof( buf ));
TEST_ASSERT( ret >= 0 );
TEST_ASSERT( ret == 0 );
f = fopen( key_file, "r" );
TEST_ASSERT( f != NULL );