From: Graham Leggett Date: Tue, 4 Aug 2026 13:07:17 +0000 (+0000) Subject: Make sure crl_uri is merged at the same time as crl_file X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1485ec7b151025dc8a7a8cd2f4e523a51c218689;p=thirdparty%2Fapache%2Fhttpd.git 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. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936867 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_config.c b/modules/ssl/ssl_engine_config.c index af09a12b56..594cfbe462 100644 --- a/modules/ssl/ssl_engine_config.c +++ b/modules/ssl/ssl_engine_config.c @@ -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);