]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_ssl: follow up to r1876934: fix !modssl_X509_STORE_load_locations() logic.
authorYann Ylavic <ylavic@apache.org>
Fri, 24 Apr 2020 16:29:02 +0000 (16:29 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 24 Apr 2020 16:29:02 +0000 (16:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876936 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_init.c

index 9a64ce5760608fb84619db8346ba76f2eb95e8b1..4861df6f5d6e0f4fafcca54b6d9ff0499c5d42c4 100644 (file)
@@ -1092,8 +1092,8 @@ static apr_status_t ssl_init_ctx_crl(server_rec *s,
     ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(01900)
                  "Configuring certificate revocation facility");
 
-    if (!store || modssl_X509_STORE_load_locations(store, mctx->crl_file,
-                                                          mctx->crl_path)) {
+    if (!store || !modssl_X509_STORE_load_locations(store, mctx->crl_file,
+                                                           mctx->crl_path)) {
         ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s, APLOGNO(01901)
                      "Host %s: unable to configure X.509 CRL storage "
                      "for certificate revocation", mctx->sc->vhost_id);