mirror of https://github.com/ARMmbed/mbed-os.git
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.pull/9708/head
parent
4a25069611
commit
dfab4de4cf
|
@ -350,7 +350,7 @@ void test_crypto_key_handles(void)
|
|||
TEST_ASSERT_EQUAL(PSA_SUCCESS, psa_destroy_key(key_handle));
|
||||
|
||||
key_handle = 0;
|
||||
TEST_ASSERT_EQUAL(PSA_ERROR_EMPTY_SLOT, psa_open_key(PSA_KEY_LIFETIME_PERSISTENT, id, &key_handle));
|
||||
TEST_ASSERT_EQUAL(PSA_ERROR_DOES_NOT_EXIST, psa_open_key(PSA_KEY_LIFETIME_PERSISTENT, id, &key_handle));
|
||||
}
|
||||
|
||||
void test_crypto_hash_clone(void)
|
||||
|
|
Loading…
Reference in New Issue