Remove further superfluous call to psa_hash_abort

Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
Thomas Daubney 2023-08-03 15:39:42 +01:00
parent 1ba9744afb
commit 21fbe4c90e

View file

@ -82,8 +82,6 @@ int main(void)
status = psa_hash_setup(&hash_operation, HASH_ALG);
if (status != PSA_SUCCESS) {
mbedtls_printf("psa_hash_setup failed\n");
psa_hash_abort(&hash_operation);
psa_hash_abort(&cloned_hash_operation);
return EXIT_FAILURE;
}