mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-29 22:20:30 +00:00
Fix bad key type constant that worked by accident
This commit is contained in:
parent
39f0c22c97
commit
c32f0304db
@ -1128,7 +1128,7 @@ exit:
|
|||||||
void key_lifetime( int lifetime_arg )
|
void key_lifetime( int lifetime_arg )
|
||||||
{
|
{
|
||||||
int key_slot = 1;
|
int key_slot = 1;
|
||||||
psa_key_type_t key_type = PSA_ALG_CBC_BASE;
|
psa_key_type_t key_type = PSA_KEY_TYPE_RAW_DATA;
|
||||||
unsigned char key[32] = {0};
|
unsigned char key[32] = {0};
|
||||||
psa_key_lifetime_t lifetime_set = lifetime_arg;
|
psa_key_lifetime_t lifetime_set = lifetime_arg;
|
||||||
psa_key_lifetime_t lifetime_get;
|
psa_key_lifetime_t lifetime_get;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user