[rs-commit] r310 - /mod_pkcs7/trunk/mod_pkcs7.c

rs-commit at redwax.eu rs-commit at redwax.eu
Wed Feb 26 00:01:35 CET 2020


Author: minfrin at redwax.eu
Date: Wed Feb 26 00:01:33 2020
New Revision: 310

Log:
Fix the handler names for ca and nextca.

Modified:
    mod_pkcs7/trunk/mod_pkcs7.c

Modified: mod_pkcs7/trunk/mod_pkcs7.c
==============================================================================
--- mod_pkcs7/trunk/mod_pkcs7.c	(original)
+++ mod_pkcs7/trunk/mod_pkcs7.c	Wed Feb 26 00:01:33 2020
@@ -477,8 +477,8 @@
     cert_config_rec *conf = ap_get_module_config(r->per_dir_config,
             &pkcs7_module);
 
-    if (!conf || !r->handler || r->handler[0] != 'c'
-            || strcmp(r->handler, "cert-ca")) {
+    if (!conf || !r->handler || r->handler[0] != 'p'
+            || strcmp(r->handler, "pkcs7-ca")) {
         return DECLINED;
     }
 
@@ -525,8 +525,8 @@
     cert_config_rec *conf = ap_get_module_config(r->per_dir_config,
             &pkcs7_module);
 
-    if (!conf || !r->handler || r->handler[0] != 'c'
-            || strcmp(r->handler, "cert-nextca")) {
+    if (!conf || !r->handler || r->handler[0] != 'p'
+            || strcmp(r->handler, "pkcs7-nextca")) {
         return DECLINED;
     }
 



More information about the rs-commit mailing list