mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-12 15:15:38 +00:00
tests: psa: Change test driver default forced return value
Change signature test driver default forced return value from PSA_ERROR_NOT_SUPPORTED to PSA_SUCCESS to be able to run the PSA unit tests with hash signature and signature verification being handled by the transparent test driver. Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
b5399a8346
commit
4993c13cd3
|
@ -40,7 +40,7 @@ typedef struct {
|
||||||
unsigned long hits;
|
unsigned long hits;
|
||||||
} test_driver_signature_hooks_t;
|
} test_driver_signature_hooks_t;
|
||||||
|
|
||||||
#define TEST_DRIVER_SIGNATURE_INIT { NULL, 0, PSA_ERROR_NOT_SUPPORTED, 0 }
|
#define TEST_DRIVER_SIGNATURE_INIT { NULL, 0, PSA_SUCCESS, 0 }
|
||||||
static inline test_driver_signature_hooks_t test_driver_signature_hooks_init( void )
|
static inline test_driver_signature_hooks_t test_driver_signature_hooks_init( void )
|
||||||
{
|
{
|
||||||
const test_driver_signature_hooks_t v = TEST_DRIVER_SIGNATURE_INIT;
|
const test_driver_signature_hooks_t v = TEST_DRIVER_SIGNATURE_INIT;
|
||||||
|
|
Loading…
Reference in a new issue