From e6839033360f46f001f4121e815a643468dfc079 Mon Sep 17 00:00:00 2001 From: Remi Collet 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 +#else #define WITH_SSL_ENGINE 1 /* Deprecated in OpenSSL 3 */ #include +#endif #endif /* WITH_SSL && OPENSSL_VERSION_NUMBER >= 0x10100000 */ /**