From 84a3fa10c4d968ed29ba35c03f23a24be8a1313a Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Tue, 1 Dec 2020 09:35:17 +0100 Subject: [PATCH] tests: psa: Change key management test driver default forced return value Change key management test driver default forced return value from PSA_ERROR_NOT_SUPPORTED to PSA_SUCCESS to be able to run the PSA unit tests with the cryptographic key management operations being handled by the transparent test driver. Signed-off-by: Ronald Cron --- tests/include/test/drivers/key_management.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/include/test/drivers/key_management.h b/tests/include/test/drivers/key_management.h index 9d5175815..b30baa205 100644 --- a/tests/include/test/drivers/key_management.h +++ b/tests/include/test/drivers/key_management.h @@ -41,7 +41,7 @@ typedef struct { unsigned long hits; } test_driver_key_management_hooks_t; -#define TEST_DRIVER_KEY_MANAGEMENT_INIT { NULL, 0, PSA_ERROR_NOT_SUPPORTED, 0 } +#define TEST_DRIVER_KEY_MANAGEMENT_INIT { NULL, 0, PSA_SUCCESS, 0 } static inline test_driver_key_management_hooks_t test_driver_key_management_hooks_init( void ) { const test_driver_key_management_hooks_t v = TEST_DRIVER_KEY_MANAGEMENT_INIT;