mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-30 15:32:58 +00:00
Revert change to psa_destroy_key documentation
Signed-off-by: Ryan Everett <ryan.everett@arm.com>
This commit is contained in:
parent
709120a9ce
commit
1d32a57764
@ -1126,7 +1126,7 @@ psa_status_t psa_destroy_key(mbedtls_svc_key_id_t key)
|
||||
|
||||
exit:
|
||||
status = psa_wipe_key_slot(slot);
|
||||
/* Prioritize an error from wiping over a storage error */
|
||||
/* Prioritize CORRUPTION_DETECTED from wiping over a storage error */
|
||||
if (status != PSA_SUCCESS) {
|
||||
overall_status = status;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user