Skip to content

Commit

Permalink
Option to enable/disable openssl engines at build time
Browse files Browse the repository at this point in the history
  • Loading branch information
Cropi committed May 21, 2024
1 parent 2587cac commit 3c8aea7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mklove/modules/configure.libssl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# SSL that is the feature, not crypto.

mkl_toggle_option "Feature" ENABLE_SSL "--enable-ssl" "Enable SSL support" "try"

mkl_toggle_option "Feature" ENABLE_SSL_ENGINE "--enable-ssl-engine" "Enable SSL support" "y"

function manual_checks {
case "$ENABLE_SSL" in
Expand Down
2 changes: 1 addition & 1 deletion src/rdkafka_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include "rdlist.h"
#include "rdkafka_cert.h"

#if WITH_SSL && OPENSSL_VERSION_NUMBER >= 0x10100000 && \
#if WITH_SSL && OPENSSL_VERSION_NUMBER >= 0x10100000 && ENABLE_SSL_ENGINE && \
!defined(OPENSSL_IS_BORINGSSL)
#define WITH_SSL_ENGINE 1
/* Deprecated in OpenSSL 3 */
Expand Down

0 comments on commit 3c8aea7

Please sign in to comment.