Skip to content

Commit

Permalink
Merge pull request #6880 from mpg/fix-derive-key-exercise-2.28
Browse files Browse the repository at this point in the history
[Backport 2.28] Fix test function derive_key_exercise()
  • Loading branch information
mpg authored Jan 6, 2023
2 parents e4627f3 + 6d08dba commit ec14c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/suites/test_suite_psa_crypto.function
Original file line number Diff line number Diff line change
Expand Up @@ -4866,7 +4866,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 ) )
Expand Down

0 comments on commit ec14c7c

Please sign in to comment.