From 21fbe4c90e72b7b349e2b6374bb14f477c9e8a63 Mon Sep 17 00:00:00 2001 From: Thomas Daubney Date: Thu, 3 Aug 2023 15:39:42 +0100 Subject: [PATCH] Remove further superfluous call to psa_hash_abort Signed-off-by: Thomas Daubney --- programs/psa/psa_hash.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/programs/psa/psa_hash.c b/programs/psa/psa_hash.c index 9396fb6a9..1353fb98c 100644 --- a/programs/psa/psa_hash.c +++ b/programs/psa/psa_hash.c @@ -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; }