1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

Fix build with curl 7.62.0

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-11-03 22:44:20 +00:00
parent 5815816e6e
commit bdaa822924
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483943

View File

@ -0,0 +1,12 @@
--- src/httpc.c.orig 2018-10-12 19:53:35 UTC
+++ src/httpc.c
@@ -333,7 +333,9 @@ httpc_execute(struct httpc_request *req,
++env->stat.http_other_responses;
}
break;
+#if LIBCURL_VERSION_NUM < 0x073e00
case CURLE_SSL_CACERT:
+#endif
case CURLE_PEER_FAILED_VERIFICATION:
/* 495 SSL Certificate Error (nginx non-standard) */
req->status = 495;