From b67f308c4f982f5d5e224d0822c046c9af269cbf Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Tue, 7 Aug 2018 15:33:10 +0200 Subject: [PATCH] Fix re-import size in import_export test with non-canonical input --- tests/suites/test_suite_psa_crypto.function | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/suites/test_suite_psa_crypto.function b/tests/suites/test_suite_psa_crypto.function index 04c1c7982..97501af6a 100644 --- a/tests/suites/test_suite_psa_crypto.function +++ b/tests/suites/test_suite_psa_crypto.function @@ -643,7 +643,7 @@ void import_export( data_t *data, TEST_ASSERT( psa_import_key( slot2, type, exported, - export_size ) == PSA_SUCCESS ); + exported_length ) == PSA_SUCCESS ); TEST_ASSERT( psa_export_key( slot2, reexported, export_size,