mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-25 16:35:41 +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…
Reference in a new issue