Skip to content

Commit d20cd14

Browse files
committed
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
1 parent ef98f4f commit d20cd14

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/md/md_curl.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,9 @@ static apr_status_t internals_setup(md_http_request_t *req)
306306
/* for a custom CA, allow certificates checking to ignore the
307307
* Schannel error CRYPT_E_NO_REVOCATION_CHECK (could be a missing OCSP
308308
* responder URL in the certs???). See issue #361 */
309+
#ifdef CURLSSLOPT_NO_REVOKE
309310
ssl_options |= CURLSSLOPT_NO_REVOKE;
311+
#endif
310312
}
311313
if (req->unix_socket_path) {
312314
curl_easy_setopt(curl, CURLOPT_UNIX_SOCKET_PATH, req->unix_socket_path);

0 commit comments

Comments
 (0)