Skip to content

Commit d74dfc2

Browse files
author
Hanno Becker
committed
PSA: Adapt ssl_client2 to modified key slot allocation API
1 parent a814ae6 commit d74dfc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

programs/ssl/ssl_client2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1594,7 +1594,7 @@ int main( int argc, char *argv[] )
15941594
if( opt.psk_opaque != 0 )
15951595
{
15961596
/* The algorithm has already been determined earlier. */
1597-
status = psa_allocate_key( PSA_KEY_TYPE_DERIVE, psk_len * 8, &slot );
1597+
status = psa_allocate_key( &slot );
15981598
if( status != PSA_SUCCESS )
15991599
{
16001600
ret = MBEDTLS_ERR_SSL_HW_ACCEL_FAILED;

0 commit comments

Comments
 (0)