Skip to content

Commit 423c67c

Browse files
committed
avoid compile error with curl < 7.44.0
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927054 13f79535-47bb-0310-9956-ffa450edef68
1 parent a6b8db0 commit 423c67c

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)