From: Eric Covener Date: Mon, 7 Jul 2025 15:40:38 +0000 (+0000) Subject: Merge r1927054 from trunk: X-Git-Tag: 2.4.64-rc2-candidate~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d20cd1405b0fccffd25f4063da952ab77c429621;p=thirdparty%2Fapache%2Fhttpd.git Merge r1927054 from trunk: avoid compile error with curl < 7.44.0 Reviewed By: covener, ylavic, gbechis git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1927055 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/md/md_curl.c b/modules/md/md_curl.c index 3105d31ef8..3a39f437f9 100644 --- a/modules/md/md_curl.c +++ b/modules/md/md_curl.c @@ -306,7 +306,9 @@ static apr_status_t internals_setup(md_http_request_t *req) /* for a custom CA, allow certificates checking to ignore the * Schannel error CRYPT_E_NO_REVOCATION_CHECK (could be a missing OCSP * responder URL in the certs???). See issue #361 */ +#ifdef CURLSSLOPT_NO_REVOKE ssl_options |= CURLSSLOPT_NO_REVOKE; +#endif } if (req->unix_socket_path) { curl_easy_setopt(curl, CURLOPT_UNIX_SOCKET_PATH, req->unix_socket_path);