PSA: Adapt PK test suite to modified key slot allocation mechanism

This commit is contained in:
Hanno Becker 2019-01-25 14:25:00 +00:00
parent 4a2949ba29
commit 353295ac70

View file

@ -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 */