From: Yann Ylavic Date: Fri, 24 Apr 2020 16:29:02 +0000 (+0000) Subject: mod_ssl: follow up to r1876934: fix !modssl_X509_STORE_load_locations() logic. X-Git-Tag: 2.5.0-alpha2-ci-test-only~1491 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d1224588d21aad8a7ec0804e3b338797fdf6efe;p=thirdparty%2Fapache%2Fhttpd.git mod_ssl: follow up to r1876934: fix !modssl_X509_STORE_load_locations() logic. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1876936 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_init.c b/modules/ssl/ssl_engine_init.c index 9a64ce57606..4861df6f5d6 100644 --- a/modules/ssl/ssl_engine_init.c +++ b/modules/ssl/ssl_engine_init.c @@ -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);