summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/internet.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/internet.cc b/src/lib/internet.cc
index 1f280dc5d..8c5b99e61 100644
--- a/src/lib/internet.cc
+++ b/src/lib/internet.cc
@@ -110,6 +110,8 @@ get_from_url (string url, bool pasv, bool skip_pasv_ip, ScopedTemporary& temp)
if (!pasv) {
curl_easy_setopt (curl, CURLOPT_FTPPORT, "-");
}
+ curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
+ curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
/* Maximum time is 20s */
curl_easy_setopt (curl, CURLOPT_TIMEOUT, 20);