Remove FIPS condition on SM2 test.
authorPauli <pauli@openssl.org>
Mon, 19 Sep 2022 00:28:25 +0000 (10:28 +1000)
committerPauli <pauli@openssl.org>
Wed, 21 Sep 2022 07:04:34 +0000 (17:04 +1000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19237)

(cherry picked from commit 919adfcf6683d82f876060b6cf9f57e875d547b2)

test/evp_extra_test.c

index 12dc0e36288dab4ae8ac20a7b1d5c0d8445972e0..07e324519dc2fd0c89fc9b45c1574af1157de831 100644 (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