[rs-commit] r505 - in /mod_ca/trunk: ChangeLog mod_ca_engine.c
rs-commit at redwax.eu
rs-commit at redwax.eu
Thu Aug 21 16:52:39 CEST 2025
Author: minfrin at redwax.eu
Date: Thu Aug 21 16:52:39 2025
New Revision: 505
Log:
mod_ca_engine: Add workaround to build on RHEL10 where
the openssl/engine.h file was truncated.
Modified:
mod_ca/trunk/ChangeLog
mod_ca/trunk/mod_ca_engine.c
Modified: mod_ca/trunk/ChangeLog
==============================================================================
--- mod_ca/trunk/ChangeLog (original)
+++ mod_ca/trunk/ChangeLog Thu Aug 21 16:52:39 2025
@@ -1,5 +1,8 @@
Changes with v1.0.0
+
+ *) mod_ca_engine: Add workaround to build on RHEL10 where
+ the openssl/engine.h file was truncated. [Graham Leggett]
*) mod_ca_simple: Remove const warnings. [Graham Leggett]
Modified: mod_ca/trunk/mod_ca_engine.c
==============================================================================
--- mod_ca/trunk/mod_ca_engine.c (original)
+++ mod_ca/trunk/mod_ca_engine.c Thu Aug 21 16:52:39 2025
@@ -47,7 +47,11 @@
module AP_MODULE_DECLARE_DATA ca_engine_module;
-#if HAVE_OPENSSL_ENGINE_H
+#if HAVE_OPENSSL_CONFIGURATION_H
+
+#include <openssl/configuration.h>
+
+#if HAVE_OPENSSL_ENGINE_H && !defined(OPENSSL_NO_ENGINE)
#include <openssl/err.h>
#include <openssl/evp.h>
@@ -505,6 +509,7 @@
tmp = NULL;
size = 0;
rv = ap_run_ca_getchain(r, &tmp, &size, NULL);
+ /* todo: allow declined */
if (rv == DECLINED) {
log_message(r, APR_SUCCESS,
"No module configured to get the CA certificate chain (ca_getchain)");
@@ -1158,4 +1163,5 @@
};
#endif
-
+#endif
+
More information about the rs-commit
mailing list