Ardour HTTPS verify that peer isn't lying about the cert
https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYPEER.html https://curl.haxx.se/libcurl/c/CURLOPT_SSL_VERIFYHOST.html
This commit is contained in:
@@ -168,6 +168,10 @@ HttpGet::HttpGet (bool p, bool ssl)
|
||||
if (ssl && ca_path) {
|
||||
curl_easy_setopt (_curl, CURLOPT_CAPATH, ca_path);
|
||||
}
|
||||
|
||||
if (ssl && (ca_info || ca_path)) {
|
||||
curl_easy_setopt (_curl, CURLOPT_SSL_VERIFYPEER, 1);
|
||||
}
|
||||
}
|
||||
|
||||
HttpGet::~HttpGet ()
|
||||
|
||||
Reference in New Issue
Block a user