1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

Fix build with curl 7.62.0

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-11-03 22:53:35 +00:00
parent 57e9b58a33
commit eba2ed590c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483951

View File

@ -0,0 +1,12 @@
--- src/http.c.orig 2018-06-27 17:42:33 UTC
+++ src/http.c
@@ -1555,7 +1555,9 @@ void ebcurl_setError(CURLcode curlret, c
break;
case CURLE_PEER_FAILED_VERIFICATION:
+#if LIBCURL_VERSION_NUM < 0x073e00
case CURLE_SSL_CACERT:
+#endif
(*fn) (MSG_NoCertify, host);
break;