Fix build with curl 7.62.0

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-11-03 22:50:24 +00:00
parent d9b8cf40b6
commit 54782d57d4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483947

View File

@ -0,0 +1,12 @@
--- src/low-level/feed/newsfeed.c.orig 2018-09-12 11:54:16 UTC
+++ src/low-level/feed/newsfeed.c
@@ -535,7 +535,9 @@ static int curl_error_convert(int curl_r
case CURLE_SSL_ENGINE_SETFAILED:
case CURLE_SSL_CERTPROBLEM:
case CURLE_SSL_CIPHER:
+#if LIBCURL_VERSION_NUM < 0x073e00
case CURLE_SSL_CACERT:
+#endif
case CURLE_FTP_SSL_FAILED:
case CURLE_SSL_ENGINE_INITFAILED:
return NEWSFEED_ERROR_SSL;