Remove FIPS condition on SM2 test.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19237)
This commit is contained in:
Pauli 2022-09-19 10:28:25 +10:00
parent 200d844782
commit 919adfcf66

View File

@ -1812,7 +1812,7 @@ static int test_EC_keygen_with_enc(int idx)
}
#endif
#if !defined(OPENSSL_NO_SM2) && !defined(FIPS_MODULE)
#if !defined(OPENSSL_NO_SM2)
static int test_EVP_SM2_verify(void)
{
@ -4552,7 +4552,7 @@ int setup_tests(void)
#ifndef OPENSSL_NO_EC
ADD_ALL_TESTS(test_EC_keygen_with_enc, OSSL_NELEM(ec_encodings));
#endif
#if !defined(OPENSSL_NO_SM2) && !defined(FIPS_MODULE)
#if !defined(OPENSSL_NO_SM2)
ADD_TEST(test_EVP_SM2);
ADD_TEST(test_EVP_SM2_verify);
#endif