From 6f57be93ecadbe9c6e260763230de0bbb40d7377 Mon Sep 17 00:00:00 2001 From: Thomas Daubney Date: Thu, 7 Apr 2022 15:10:34 +0100 Subject: [PATCH] Removes unecessary statement After other changes had taken place the call to PSA_ASSERT( psa_get_key_attributes( key, &attributes ) ) was no longer needed. Signed-off-by: Thomas Daubney --- tests/suites/test_suite_psa_crypto_driver_wrappers.function | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/suites/test_suite_psa_crypto_driver_wrappers.function b/tests/suites/test_suite_psa_crypto_driver_wrappers.function index 6f47d7fab..e4a19424f 100644 --- a/tests/suites/test_suite_psa_crypto_driver_wrappers.function +++ b/tests/suites/test_suite_psa_crypto_driver_wrappers.function @@ -2481,7 +2481,6 @@ void aead_decrypt_setup( int key_type_arg, data_t *key_data, PSA_ASSERT( psa_import_key( &attributes, key_data->x, key_data->len, &key ) ); - PSA_ASSERT( psa_get_key_attributes( key, &attributes ) ); output_size = input_ciphertext->len;