[rs-commit] r510 - /mod_ca/trunk/mod_ca_engine.c

rs-commit at redwax.eu rs-commit at redwax.eu
Thu Sep 11 10:52:34 CEST 2025


Author: minfrin at redwax.eu
Date: Thu Sep 11 10:52:33 2025
New Revision: 510

Log:
Detecting engine support is a mess. Only include if both
header and symbol are present.

Modified:
    mod_ca/trunk/mod_ca_engine.c

Modified: mod_ca/trunk/mod_ca_engine.c
==============================================================================
--- mod_ca/trunk/mod_ca_engine.c	(original)
+++ mod_ca/trunk/mod_ca_engine.c	Thu Sep 11 10:52:33 2025
@@ -51,7 +51,7 @@
 
 #include <openssl/configuration.h>
 
-#if HAVE_OPENSSL_ENGINE_H && !defined(OPENSSL_NO_ENGINE)
+#if defined(HAVE_OPENSSL_ENGINE_H) && defined(HAVE_ENGINE_LOAD_PRIVATE_KEY) && !defined(OPENSSL_NO_ENGINE)
 
 #include <openssl/err.h>
 #include <openssl/evp.h>



More information about the rs-commit mailing list