diff --git a/src/httpc.c b/src/httpc.c index 4d48a313d87448acac36215f60b4752e1a593efd..950f8b32f6b54c8dfab72ce36965ba8c71bb9d06 100644 --- a/src/httpc.c +++ b/src/httpc.c @@ -333,7 +333,9 @@ httpc_execute(struct httpc_request *req, double timeout) ++env->stat.http_other_responses; } break; - case CURLE_SSL_CACERT: +#if LIBCURL_VERSION_NUM < 0x073e00 + case CURLE_SSL_CACERT: /* deprecated in libcurl 7.62.0 */ +#endif case CURLE_PEER_FAILED_VERIFICATION: /* 495 SSL Certificate Error (nginx non-standard) */ req->status = 495;