mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
Don't check certs when root certs are n/a on target machine
This commit is contained in:
parent
870af9fd23
commit
12b215b0d6
1 changed files with 3 additions and 0 deletions
|
|
@ -63,6 +63,9 @@ HttpGet::ca_setopt (CURL* c)
|
|||
}
|
||||
if (ca_info || ca_path) {
|
||||
curl_easy_setopt (c, CURLOPT_SSL_VERIFYPEER, 1);
|
||||
} else {
|
||||
curl_easy_setopt (c, CURLOPT_SSL_VERIFYPEER, 0);
|
||||
curl_easy_setopt (c, CURLOPT_SSL_VERIFYHOST, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue