Improve comment wording

Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
Paul Elliott 2023-03-01 14:37:48 +00:00
parent 587e780812
commit de7c31e082

View File

@ -6724,7 +6724,7 @@ void sign_hash_fail_interruptible(int key_type_arg, data_t *key_data,
TEST_EQUAL(actual_status, expected_start_status);
if (expected_start_status != PSA_SUCCESS) {
/* Emulate poor implementation, and call complete anyway, even though
/* Emulate poor application code, and call complete anyway, even though
* start failed. */
actual_status = psa_sign_hash_complete(&operation, signature,
signature_size,
@ -7256,7 +7256,7 @@ void verify_hash_fail_interruptible(int key_type_arg, data_t *key_data,
TEST_EQUAL(actual_status, expected_start_status);
if (expected_start_status != PSA_SUCCESS) {
/* Emulate poor implementation, and call complete anyway, even though
/* Emulate poor application code, and call complete anyway, even though
* start failed. */
actual_status = psa_verify_hash_complete(&operation);