Merge pull request #3435 from paul-elliott-arm/fix_dangerous_parameters

Remove Dangerous Parameter Passing
This commit is contained in:
Manuel Pégourié-Gonnard 2020-06-22 09:37:00 +02:00 committed by GitHub
commit 25c7dbe342
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -270,7 +270,7 @@ void persistent_slot_lifecycle( int lifetime_arg, int id_arg,
else
{
TEST_EQUAL( psa_export_key( handle,
reexported, sizeof( reexported ),
NULL, 0,
&reexported_length ),
PSA_ERROR_NOT_PERMITTED );
}