File update-to-openssl-1.1.1-drop-RANDFILE.patch of Package openwsman.23832
From e99214b3473ccff5ee033a2ada585fd3ebf61884 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Tue, 18 Aug 2020 10:44:28 +0200
Subject: [PATCH] update to openssl 1.1.1 - drop RANDFILE
RANDFILE is discouraged by openssl 1.1.1 (bsc#1174541)
---
etc/owsmangencert.sh.cmake | 1 -
etc/ssleay.cnf | 2 --
2 files changed, 3 deletions(-)
diff --git a/etc/owsmangencert.sh.cmake b/etc/owsmangencert.sh.cmake
index 6a8d51a3520e..06b701076861 100755
--- a/etc/owsmangencert.sh.cmake
+++ b/etc/owsmangencert.sh.cmake
@@ -25,7 +25,6 @@ echo
# use special .cnf, because with normal one no valid selfsigned
# certificate is created
-export RANDFILE=/dev/random
openssl req -days 365 $@ -config $CNFFILE \
-new -x509 -nodes -out $CERTFILE \
-keyout $KEYFILE
diff --git a/etc/ssleay.cnf b/etc/ssleay.cnf
index df0f5827f477..59e19e91dbe3 100644
--- a/etc/ssleay.cnf
+++ b/etc/ssleay.cnf
@@ -2,8 +2,6 @@
# SSLeay example configuration file.
#
-RANDFILE = /dev/random
-
[ req ]
default_bits = 1024
default_keyfile = privkey.pem
--
2.26.0