mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-09 20:05:30 +00:00
PSA: Adapt ssl_client2 to modified key slot allocation API
This commit is contained in:
parent
8d865dfe37
commit
37519ea5f8
|
@ -1594,7 +1594,7 @@ int main( int argc, char *argv[] )
|
||||||
if( opt.psk_opaque != 0 )
|
if( opt.psk_opaque != 0 )
|
||||||
{
|
{
|
||||||
/* The algorithm has already been determined earlier. */
|
/* 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 )
|
if( status != PSA_SUCCESS )
|
||||||
{
|
{
|
||||||
ret = MBEDTLS_ERR_SSL_HW_ACCEL_FAILED;
|
ret = MBEDTLS_ERR_SSL_HW_ACCEL_FAILED;
|
||||||
|
|
Loading…
Reference in a new issue