Revert change to return behaviour in psa_reserve_free_key_slot

This change was a mistake, we still need to wipe the pointers here.

Signed-off-by: Ryan Everett <ryan.everett@arm.com>
This commit is contained in:
Ryan Everett 2024-01-15 11:19:03 +00:00
parent dfe8bf86a8
commit 709120a9ce

@ -199,7 +199,7 @@ psa_status_t psa_reserve_free_key_slot(psa_key_id_t *volatile_key_id,
status = psa_key_slot_state_transition(selected_slot, PSA_SLOT_EMPTY,
PSA_SLOT_FILLING);
if (status != PSA_SUCCESS) {
return status;
goto error;
}
*volatile_key_id = PSA_KEY_ID_VOLATILE_MIN +