2489ccddf9
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
23 lines
782 B
Diff
23 lines
782 B
Diff
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 d034590a2e..b73141a530 100644
|
|
--- a/lib/crypto/c_src/openssl_config.h
|
|
+++ b/lib/crypto/c_src/openssl_config.h
|
|
@@ -468,12 +468,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)
|