forked from lix-project/lix
Downloader: Warn if no trusted CA file has been configured
This commit is contained in:
parent
906d56a96b
commit
7c568d4c6e
|
@ -285,6 +285,7 @@ struct CurlDownloader : public Downloader
|
|||
}
|
||||
|
||||
if (request.verifyTLS) {
|
||||
debug("verify TLS: Nix CA file = '%s'", settings.caFile);
|
||||
if (settings.caFile != "")
|
||||
curl_easy_setopt(req, CURLOPT_CAINFO, settings.caFile.c_str());
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue