Skip to content

Commit

Permalink
crypto: test: Use new PSA error codes
Browse files Browse the repository at this point in the history
The PSA Framework and PSA Crypto error code names have been unified and
renamed in some cases. Use the new unified names.
  • Loading branch information
Patater committed Feb 18, 2019
1 parent 3638862 commit 5c5b6b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TESTS/mbed-crypto/sanity/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5c5b6b4

Please sign in to comment.