Don't enable CRL checks/flags by default.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1748368 13f79535-47bb-0310-9956-
ffa450edef68
X509_STORE *store = SSL_CTX_get_cert_store(mctx->ssl_ctx);
unsigned long crlflags = 0;
char *cfgp = mctx->pkp ? "SSLProxy" : "SSL";
- int crl_check_mode = mctx->crl_check_mask & ~SSL_CRLCHECK_FLAGS;
+ int crl_check_mode;
+
+ if (mctx->crl_check_mask == UNSET) {
+ mctx->crl_check_mask = SSL_CRLCHECK_NONE;
+ }
+ crl_check_mode = mctx->crl_check_mask & ~SSL_CRLCHECK_FLAGS;
/*
* Configure Certificate Revocation List (CRL) Details