svn commit: r1936867 - httpd/httpd/trunk/modules/ssl

[email protected] Tue, 04 Aug 2026 13:07:17 -0000
Newsgroups gmane.comp.apache.cvs
Message-ID <178584883798.2245918.16814454301710659130@svn03-he-fi>
Author: minfrin
Date: Tue Aug  4 13:07:17 2026
New Revision: 1936867

Log:
Make sure crl_uri is merged at the same time as crl_file
and crl_path. Make ordering consistent to match all
other files and paths.

Modified:
   httpd/httpd/trunk/modules/ssl/ssl_engine_config.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_config.c
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_engine_config.c	Tue Aug  4 12:53:00 2026	(r1936866)
+++ httpd/httpd/trunk/modules/ssl/ssl_engine_config.c	Tue Aug  4 13:07:17 2026	(r1936867)
@@ -130,8 +130,8 @@ static void modssl_ctx_init(modssl_ctx_t
 
     mctx->cert_chain          = NULL;
 
-    mctx->crl_path            = NULL;
     mctx->crl_file            = NULL;
+    mctx->crl_path            = NULL;
     mctx->crl_uri             = NULL;
     mctx->crl_check_mask      = UNSET;
 
@@ -279,8 +279,9 @@ static void modssl_ctx_cfg_merge(apr_poo
 
     cfgMergeString(cert_chain);
 
-    cfgMerge(crl_path, NULL);
     cfgMerge(crl_file, NULL);
+    cfgMerge(crl_path, NULL);
+    cfgMerge(crl_uri, NULL);
     cfgMergeInt(crl_check_mask);
 
     cfgMergeString(auth.ca_cert_uri);
@@ -2817,9 +2818,9 @@ static void modssl_ctx_dump(modssl_ctx_t
 
     modssl_auth_ctx_dump(&ctx->auth, p, proxy, out, indent, psep);
 
-    DMP_STRING(proxy? "SSLProxyCARevocationURI" : "SSLCARevocationURI", ctx->crl_uri);
     DMP_STRING(proxy? "SSLProxyCARevocationFile" : "SSLCARevocationFile", ctx->crl_file);
     DMP_STRING(proxy? "SSLProxyCARevocationPath" : "SSLCARevocationPath", ctx->crl_path);
+    DMP_STRING(proxy? "SSLProxyCARevocationURI" : "SSLCARevocationURI", ctx->crl_uri);
     DMP_CRLCHK(proxy? "SSLProxyCARevocationCheck" : "SSLCARevocationCheck", ctx->crl_check_mask);
     if (!proxy) {
         DMP_PHRASE("SSLPassPhraseDialog", ctx->pphrase_dialog_type, ctx->pphrase_dialog_path);