rsyslog/disable-openssl-engine.patch
alakatos b24ca951fd Remove mmtaghostname subpackage
resolves: RHEL-52863
2024-08-05 16:14:42 +02:00

22 lines
720 B
Diff

diff -up rsyslog-8.2312.0/runtime/nsd_ossl.c.orig rsyslog-8.2312.0/runtime/nsd_ossl.c
--- rsyslog-8.2312.0/runtime/nsd_ossl.c.orig 2024-08-05 16:06:56.234410525 +0200
+++ rsyslog-8.2312.0/runtime/nsd_ossl.c 2024-08-05 16:07:21.740650844 +0200
@@ -35,7 +35,7 @@
#if OPENSSL_VERSION_NUMBER >= 0x30000000L && !defined(LIBRESSL_VERSION_NUMBER)
# include <openssl/bioerr.h>
#endif
-#include <openssl/engine.h>
+// #include <openssl/engine.h>
#include <errno.h>
#include <sys/stat.h>
#include <unistd.h>
@@ -992,7 +992,7 @@ osslGlblExit(void)
{
DEFiRet;
DBGPRINTF("openssl: entering osslGlblExit\n");
- ENGINE_cleanup();
+ // ENGINE_cleanup();
ERR_free_strings();
EVP_cleanup();
CRYPTO_cleanup_all_ex_data();