diff options
Diffstat (limited to 'librdkafka-build.patch')
-rw-r--r-- | librdkafka-build.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/librdkafka-build.patch b/librdkafka-build.patch new file mode 100644 index 0000000..0bae5b6 --- /dev/null +++ b/librdkafka-build.patch @@ -0,0 +1,27 @@ +From e6839033360f46f001f4121e815a643468dfc079 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Thu, 21 Nov 2024 09:02:57 +0100 +Subject: [PATCH] use OPENSSL_NO_ENGINE from OpenSSL config + +--- + src/rdkafka_conf.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/rdkafka_conf.h b/src/rdkafka_conf.h +index 5c41513043..5d9f3ff843 100644 +--- a/src/rdkafka_conf.h ++++ b/src/rdkafka_conf.h +@@ -35,9 +35,13 @@ + + #if WITH_SSL && OPENSSL_VERSION_NUMBER >= 0x10100000 && \ + !defined(OPENSSL_IS_BORINGSSL) ++#ifdef OPENSSL_NO_ENGINE ++#include <openssl/rand.h> ++#else + #define WITH_SSL_ENGINE 1 + /* Deprecated in OpenSSL 3 */ + #include <openssl/engine.h> ++#endif + #endif /* WITH_SSL && OPENSSL_VERSION_NUMBER >= 0x10100000 */ + + /** |