Remove superfluous calls to psa_hash_abort
Calls were not required since psa_hash_setup was yet to be called. Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
parent
6fc4ca2d85
commit
a79f806225
1 changed files with 0 additions and 2 deletions
|
@ -69,8 +69,6 @@ int main(void)
|
||||||
status = psa_crypto_init();
|
status = psa_crypto_init();
|
||||||
if (status != PSA_SUCCESS) {
|
if (status != PSA_SUCCESS) {
|
||||||
mbedtls_printf("psa_crypto_init failed\n");
|
mbedtls_printf("psa_crypto_init failed\n");
|
||||||
psa_hash_abort(&psa_hash_operation);
|
|
||||||
psa_hash_abort(&cloned_psa_hash_operation);
|
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue