PSA: Adapt ssl_client2 to modified key slot allocation API
diff --git a/programs/ssl/ssl_client2.c b/programs/ssl/ssl_client2.c
index a8c16dc..32db464 100644
--- a/programs/ssl/ssl_client2.c
+++ b/programs/ssl/ssl_client2.c
@@ -1594,7 +1594,7 @@
if( opt.psk_opaque != 0 )
{
/* The algorithm has already been determined earlier. */
- status = psa_allocate_key( PSA_KEY_TYPE_DERIVE, psk_len * 8, &slot );
+ status = psa_allocate_key( &slot );
if( status != PSA_SUCCESS )
{
ret = MBEDTLS_ERR_SSL_HW_ACCEL_FAILED;