mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-03 01:20:39 +00:00
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 <ronald.cron@arm.com>
This commit is contained in:
parent
784fb326ae
commit
84a3fa10c4
@ -41,7 +41,7 @@ typedef struct {
|
|||||||
unsigned long hits;
|
unsigned long hits;
|
||||||
} test_driver_key_management_hooks_t;
|
} 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 )
|
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;
|
const test_driver_key_management_hooks_t v = TEST_DRIVER_KEY_MANAGEMENT_INIT;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user