Merge pull request #6873 from mpg/fix-derive-key-exercise

Fix test function derive_key_exercise()
This commit is contained in:
Manuel Pégourié-Gonnard 2023-01-06 11:50:05 +01:00 committed by GitHub
commit b17803682e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7946,7 +7946,7 @@ void derive_key_exercise( int alg_arg,
&base_key ) );
/* Derive a key. */
if ( mbedtls_test_psa_setup_key_derivation_wrap( &operation, base_key, alg,
if ( !mbedtls_test_psa_setup_key_derivation_wrap( &operation, base_key, alg,
input1->x, input1->len,
input2->x, input2->len,
capacity ) )