forked from lix-project/lix
Merge pull request #3141 from xbreak/nocafile
Downloader: Log configured CA file
This commit is contained in:
commit
425991883a
1 changed files with 1 additions and 0 deletions
|
@ -289,6 +289,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