erlang/otp-0010-Revert-crypto-Temporarily-disable-FIPS-for-cryptolib.patch
Peter Lemenkov f92c4b5b4c Erlang ver. 24.3.3
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
2022-03-29 19:53:48 +02:00

24 lines
804 B
Diff

From: Peter Lemenkov <lemenkov@gmail.com>
Date: Tue, 29 Mar 2022 19:38:13 +0200
Subject: [PATCH] Revert "crypto: Temporarily disable FIPS for cryptolib ver
3.0 and above"
This reverts commit 6bb9c51e900fe8fb5a88bd2498f6e5a92f94ed8d.
diff --git a/lib/crypto/c_src/openssl_config.h b/lib/crypto/c_src/openssl_config.h
index 647ab25ad4..ab681183a3 100644
--- a/lib/crypto/c_src/openssl_config.h
+++ b/lib/crypto/c_src/openssl_config.h
@@ -452,11 +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)