mirror of
https://github.com/apache/httpd.git
synced 2025-07-25 17:01:22 +00:00
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
This commit is contained in:
@ -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
|
/* for a custom CA, allow certificates checking to ignore the
|
||||||
* Schannel error CRYPT_E_NO_REVOCATION_CHECK (could be a missing OCSP
|
* Schannel error CRYPT_E_NO_REVOCATION_CHECK (could be a missing OCSP
|
||||||
* responder URL in the certs???). See issue #361 */
|
* responder URL in the certs???). See issue #361 */
|
||||||
|
#ifdef CURLSSLOPT_NO_REVOKE
|
||||||
ssl_options |= CURLSSLOPT_NO_REVOKE;
|
ssl_options |= CURLSSLOPT_NO_REVOKE;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
if (req->unix_socket_path) {
|
if (req->unix_socket_path) {
|
||||||
curl_easy_setopt(curl, CURLOPT_UNIX_SOCKET_PATH, req->unix_socket_path);
|
curl_easy_setopt(curl, CURLOPT_UNIX_SOCKET_PATH, req->unix_socket_path);
|
||||||
|
Reference in New Issue
Block a user