[rs-commit] r156 - /mod_scep/trunk/mod_scep.c

rs-commit at redwax.eu rs-commit at redwax.eu
Sun Dec 8 12:34:03 CET 2019


Author: dirkx at redwax.eu
Date: Sun Dec  8 12:34:02 2019
New Revision: 156

Log:
Fixed a missing API change.

Modified:
    mod_scep/trunk/mod_scep.c

Modified: mod_scep/trunk/mod_scep.c
==============================================================================
--- mod_scep/trunk/mod_scep.c	(original)
+++ mod_scep/trunk/mod_scep.c	Sun Dec  8 12:34:02 2019
@@ -912,7 +912,7 @@
 #if OPENSSL_VERSION_NUMBER  > 0x1010001fL
                         (const char *) ASN1_STRING_get0_data(
 #else
-                        (const char *) ASN1_STRING_get0_data(
+                        (const char *) ASN1_STRING_data(
 #endif
                                 asn1_type->value.asn1_string),
                         ASN1_STRING_length(asn1_type->value.asn1_string));
@@ -2923,6 +2923,11 @@
 {
     ap_hook_pre_config(scep_pre_config, NULL, NULL, APR_HOOK_MIDDLE);
     ap_hook_handler(scep_handler, NULL, NULL, APR_HOOK_MIDDLE);
+
+#ifdef HAS_OPENSSL_PR10563_WORK_AROUND
+    ap_log_error(APLOG_MARK, APLOG_WARNING, 0, NULL, 
+        "Workaround for OpenSSL/#10563 active; which manipulates openssl-private internals.");
+#endif
 }
 
 module AP_MODULE_DECLARE_DATA scep_module =



More information about the rs-commit mailing list