mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-30 07:20:59 +00:00
PSA: Adapt PK test suite to modified key slot allocation mechanism
This commit is contained in:
parent
0b6b871056
commit
fcf659b12d
@ -84,7 +84,7 @@ psa_key_handle_t pk_psa_genkey( void )
|
||||
psa_key_policy_t policy;
|
||||
|
||||
/* Allocate a key slot */
|
||||
if( PSA_SUCCESS != psa_allocate_key( type, bits, &key ) )
|
||||
if( PSA_SUCCESS != psa_allocate_key( &key ) )
|
||||
return( PK_PSA_INVALID_SLOT );
|
||||
|
||||
/* set up policy on key slot */
|
||||
|
Loading…
x
Reference in New Issue
Block a user