Skip to content

Commit 3291fc3

Browse files
PataterDavid Saada
authored andcommitted
crypto: test: Use new PSA error codes
The PSA Framework and PSA Crypto error code names have been unified and renamed in some cases. Use the new unified names.
1 parent 4537e74 commit 3291fc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TESTS/mbed-crypto/sanity/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ void test_crypto_key_handles(void)
350350
TEST_ASSERT_EQUAL(PSA_SUCCESS, psa_destroy_key(key_handle));
351351

352352
key_handle = 0;
353-
TEST_ASSERT_EQUAL(PSA_ERROR_EMPTY_SLOT, psa_open_key(PSA_KEY_LIFETIME_PERSISTENT, id, &key_handle));
353+
TEST_ASSERT_EQUAL(PSA_ERROR_DOES_NOT_EXIST, psa_open_key(PSA_KEY_LIFETIME_PERSISTENT, id, &key_handle));
354354
}
355355

356356
void test_crypto_hash_clone(void)

0 commit comments

Comments
 (0)