File 0444-Update-configure-scripts.patch of Package erlang

From d02fd2a30f14d67cdc1b5d475fa75986955e64f6 Mon Sep 17 00:00:00 2001
From: Hans Nilsson <hans@erlang.org>
Date: Fri, 17 Jun 2022 11:09:28 +0200
Subject: [PATCH 4/4] Update configure scripts

---
 lib/crypto/configure | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/lib/crypto/configure b/lib/crypto/configure
index 80fa9ac049..855e95009d 100755
--- a/lib/crypto/configure
+++ b/lib/crypto/configure
@@ -6412,19 +6412,16 @@ else
 fi
 
 if test "x$v3_include" = "xyes"; then
-   echo "Using OpenSSL 3.0 is not yet recommended for production code." >> ./CONF_INFO
-   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
-$as_echo "$as_me: WARNING: ******************************************************************" >&2;}
-   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: * Using OpenSSL 3.0 is not yet recommended for production code.  *" >&5
-$as_echo "$as_me: WARNING: * Using OpenSSL 3.0 is not yet recommended for production code.  *" >&2;}
 
    if test "x$SSL_DYNAMIC_ONLY" = "xno" ; then
       echo "Static linking with OpenSSL 3.0 *MAY* require special configuring of the cryptolib." >> ./CONF_INFO
+      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
+$as_echo "$as_me: WARNING: ******************************************************************" >&2;}
       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: * Static linking *MAY* require re-configuring the 3.0 cryptolib. *" >&5
 $as_echo "$as_me: WARNING: * Static linking *MAY* require re-configuring the 3.0 cryptolib. *" >&2;}
-   fi
-   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
+      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ******************************************************************" >&5
 $as_echo "$as_me: WARNING: ******************************************************************" >&2;}
+   fi
 fi
 
 if test "x$v3_include" = "xyes" && test "x$deprecated_warnings" = "xdefault_yes" && test "$CRYPTO_APP" != ""; then
-- 
2.35.3

openSUSE Build Service is sponsored by