File 8762-crypto-Remove-hard-coded-disable-of-ENGINE-in-3.0.x.patch of Package erlang

From 4cd2f5d47e319eaa93d9a30e0e07804242b24af4 Mon Sep 17 00:00:00 2001
From: Hans Nilsson <hans@erlang.org>
Date: Mon, 1 Aug 2022 18:14:28 +0200
Subject: [PATCH 2/3] crypto: Remove hard-coded disable of ENGINE in 3.0.x

---
 lib/crypto/c_src/openssl_config.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lib/crypto/c_src/openssl_config.h b/lib/crypto/c_src/openssl_config.h
index db49335ec3..cb63f28369 100644
--- a/lib/crypto/c_src/openssl_config.h
+++ b/lib/crypto/c_src/openssl_config.h
@@ -352,9 +352,7 @@
 /* If OPENSSL_NO_EC is set, there will be an error in ec.h included from engine.h
    So if EC is disabled, you can't use Engine either....
 */
-#if !defined(OPENSSL_NO_ENGINE) && \
-    !defined(HAS_3_0_API)
-/* Disable FIPS for 3.0 temporaryly until the support is added (might core dump) */
+#if !defined(OPENSSL_NO_ENGINE)
 # define HAS_ENGINE_SUPPORT
 #endif
 #endif
-- 
2.35.3

openSUSE Build Service is sponsored by