Switch last TEST_ASSERT() in TEST_EQUAL() in pk_wrap_rsa_decrypt_test_vec()

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
Neil Armstrong 2022-05-11 09:29:57 +02:00
parent 30beca35f1
commit 814562afaa

View file

@ -975,7 +975,7 @@ void pk_wrap_rsa_decrypt_test_vec( data_t * cipher, int mod, int radix_P,
TEST_EQUAL( memcmp( output, clear->x, olen ), 0 );
}
TEST_ASSERT( PSA_SUCCESS == psa_destroy_key( key_id ) );
TEST_EQUAL( PSA_SUCCESS, psa_destroy_key( key_id ) );
exit:
mbedtls_mpi_free( &N ); mbedtls_mpi_free( &P );