From: Sverker Eriksson <sverker@erlang.org>
Date: Wed, 7 Jun 2023 20:38:11 +0200
Subject: [PATCH] crypto: Re-enable FIPS_SUPPORT for HAS_3_0_API
diff --git a/lib/crypto/c_src/openssl_config.h b/lib/crypto/c_src/openssl_config.h
index 647ab25ad4..e7a0366771 100644
--- a/lib/crypto/c_src/openssl_config.h
+++ b/lib/crypto/c_src/openssl_config.h
@@ -452,12 +452,6 @@ do { \
# undef FIPS_SUPPORT
#endif
-/* Disable FIPS for 3.0 temporaryly until the support is added */
-#if defined(FIPS_SUPPORT) && \
- defined(HAS_3_0_API)
-# undef FIPS_SUPPORT
-#endif
-
#if defined(FIPS_SUPPORT) && \
defined(HAS_3_0_API)
# define FIPS_mode() EVP_default_properties_is_fips_enabled(NULL)