mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-22 20:10:32 -04:00
tests: suite_x509parse: set PSA max operations in x509_verify_restart()
Set also psa_interruptible_set_max_ops() when mbedtls_ecp_set_max_ops() is set so that the same amount of operations will be used both if legacy ECDSA_C or PSA is used under the hood to perform the operation. Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
153a906a51
commit
4a2e7b9ed8
@ -679,6 +679,7 @@ void x509_verify_restart(char *crt_file, char *ca_file,
|
||||
TEST_EQUAL(mbedtls_x509_crt_parse_file(&crt, crt_file), 0);
|
||||
TEST_EQUAL(mbedtls_x509_crt_parse_file(&ca, ca_file), 0);
|
||||
|
||||
psa_interruptible_set_max_ops(max_ops);
|
||||
mbedtls_ecp_set_max_ops(max_ops);
|
||||
|
||||
cnt_restart = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user