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:
parent
4ac56baa3a
commit
65fb236799
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue