]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Make sure crl_uri is merged at the same time as crl_file
authorGraham Leggett <minfrin@apache.org>
Tue, 4 Aug 2026 13:07:17 +0000 (13:07 +0000)
committerGraham Leggett <minfrin@apache.org>
Tue, 4 Aug 2026 13:07:17 +0000 (13:07 +0000)
and crl_path. Make ordering consistent to match all
other files and paths.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936867 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_config.c

index af09a12b56158b11c908cfea003636734542c81d..594cfbe462cec39bd1d8aac6874b70c3d7347a75 100644 (file)
@@ -130,8 +130,8 @@ static void modssl_ctx_init(modssl_ctx_t *mctx, apr_pool_t *p)
 
     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_pool_t *p,
 
     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 *ctx, apr_pool_t *p, int proxy,
 
     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);