File 8743-crypto-Re-enable-FIPS_SUPPORT-for-HAS_3_0_API.patch of Package erlang
From 76ffbbdd34fa303bb86a267ae88aaf2dcc45a256 Mon Sep 17 00:00:00 2001
From: Sverker Eriksson <sverker@erlang.org>
Date: Wed, 7 Jun 2023 20:38:11 +0200
Subject: [PATCH 03/14] crypto: Re-enable FIPS_SUPPORT for HAS_3_0_API
---
lib/crypto/c_src/openssl_config.h | 6 ------
1 file changed, 6 deletions(-)
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)
--
2.35.3