diff options
author | Tomas Mraz <tomas@openssl.org> | 2024-08-29 18:42:14 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-08-29 19:45:47 +0200 |
commit | 0b97a5505efa8833bb7b8cabae45894ad6d910a2 (patch) | |
tree | 0f0916b9c8ada162c6e6d8d41c6bef5c8fbca9fb | |
parent | Check for excess data in CertificateVerify (diff) | |
download | openssl-0b97a5505efa8833bb7b8cabae45894ad6d910a2.tar.xz openssl-0b97a5505efa8833bb7b8cabae45894ad6d910a2.zip |
endecode_test.c: Avoid running the SM2 tests with 3.0.0 FIPS provider
Fixes #25326
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25327)
-rw-r--r-- | test/endecode_test.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/endecode_test.c b/test/endecode_test.c index 97576cedc7..8e7dc7a9ec 100644 --- a/test/endecode_test.c +++ b/test/endecode_test.c @@ -1451,7 +1451,10 @@ int setup_tests(void) ADD_TEST_SUITE_LEGACY(ECExplicitTri2G); # endif # ifndef OPENSSL_NO_SM2 - ADD_TEST_SUITE(SM2); + if (!is_fips_3_0_0) { + /* 3.0.0 FIPS provider imports explicit EC params and then fails. */ + ADD_TEST_SUITE(SM2); + } # endif ADD_TEST_SUITE(ED25519); ADD_TEST_SUITE(ED448); |