diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-07-11 22:04:14 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-07-13 11:51:49 +0200 |
| commit | b414cf496203470da9b32b1dd65f3a8f48c9124b (patch) | |
| tree | 62da82ef1f980537ffcb31272f88def292858ce9 /src/lib | |
| parent | 1ca20a04d30764f689345e23c22ab49bc6990ec8 (diff) | |
Download Barco certificates using SFTP instead of plain FTP (#2842).
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/internet.cc | 2 |
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); |
