projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ab24ae5
)
RSSyl: If given, set CURLOPT_CAINFO regardless of libcurl version.
author
Andrej Kacian
<ticho@claws-mail.org>
Thu, 18 Jun 2015 21:37:55 +0000
(23:37 +0200)
committer
Andrej Kacian
<ticho@claws-mail.org>
Thu, 18 Jun 2015 21:53:08 +0000
(23:53 +0200)
src/plugins/rssyl/libfeed/feed.c
patch
|
blob
|
history
diff --git
a/src/plugins/rssyl/libfeed/feed.c
b/src/plugins/rssyl/libfeed/feed.c
index 1ddeb44445ede4a6ea9d2da6f363f820dd3002fb..b4db22e7789e617179d523dbb300e5139971125e 100644
(file)
--- a/
src/plugins/rssyl/libfeed/feed.c
+++ b/
src/plugins/rssyl/libfeed/feed.c
@@
-306,11
+306,12
@@
guint feed_update(Feed *feed, time_t last_update)
if (feed->ssl_verify_peer == FALSE) {
curl_easy_setopt(eh, CURLOPT_SSL_VERIFYPEER, 0);
curl_easy_setopt(eh, CURLOPT_SSL_VERIFYHOST, 0);
- if (feed->cacert_file != NULL)
- curl_easy_setopt(eh, CURLOPT_CAINFO, feed->cacert_file);
}
#endif
+ if (feed->cacert_file != NULL)
+ curl_easy_setopt(eh, CURLOPT_CAINFO, feed->cacert_file);
+
if(feed->cookies_path != NULL)
curl_easy_setopt(eh, CURLOPT_COOKIEFILE, feed->cookies_path);