Skip to content

Commit

Permalink
Remove FIPS condition on SM2 test.
Browse files Browse the repository at this point in the history
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #19237)
  • Loading branch information
paulidale committed Sep 21, 2022
1 parent 200d844 commit 919adfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/evp_extra_test.c
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 919adfc

Please sign in to comment.