psa: Make psa_set_key_lifetime() match declaration

Previously, the psa_set_key_lifetime() implementation did not match the
function declaration in psa/crypto.h. Value types don't need const,
since they are passed by value. Fix psa_set_key_lifetime()
implementation by making it match its declaration in the header.
This commit is contained in:
Jaeden Amero 2018-06-26 13:55:30 +01:00 committed by itayzafrir
parent 4ac56baa3a
commit 65fb236799

View file

@ -2513,7 +2513,7 @@ psa_status_t psa_get_key_lifetime( psa_key_slot_t key,
}
psa_status_t psa_set_key_lifetime( psa_key_slot_t key,
const psa_key_lifetime_t lifetime )
psa_key_lifetime_t lifetime )
{
key_slot_t *slot;