]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
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:02:59 +0000 (17:02 +1000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19237)

test/evp_extra_test.c

index 23f92f26f058a58f839252c37ec7da19663610c3..9e7a41d0ac5198212d757df6006bc38a0b5ed297 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