Merge pull request #9913 from kfnta/fix_acl_test

Fix bug in crypto_acl test
pull/9918/head
Martin Kojtal 2019-03-03 19:30:43 +01:00 committed by GitHub
commit fa65546aa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ void test_use_other_partition_key_asymmetric_sign_verify(void)
/* try to asymmetric verify using the key that was created by the test partition */ /* try to asymmetric verify using the key that was created by the test partition */
TEST_ASSERT_EQUAL(PSA_ERROR_INVALID_HANDLE, psa_asymmetric_verify(key_handle, key_alg, input, sizeof(input), TEST_ASSERT_EQUAL(PSA_ERROR_INVALID_HANDLE, psa_asymmetric_verify(key_handle, key_alg, input, sizeof(input),
signature, len)); signature, sizeof(signature)));
/* via test partition - close the key created by the test partition */ /* via test partition - close the key created by the test partition */
TEST_ASSERT_EQUAL(PSA_SUCCESS, test_partition_crypto_close_key(key_handle)); TEST_ASSERT_EQUAL(PSA_SUCCESS, test_partition_crypto_close_key(key_handle));