Merge pull request #3141 from xbreak/nocafile

Downloader: Log configured CA file
This commit is contained in:
Eelco Dolstra 2019-11-26 20:52:25 +01:00 committed by GitHub
commit 425991883a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -289,6 +289,7 @@ struct CurlDownloader : public Downloader
} }
if (request.verifyTLS) { if (request.verifyTLS) {
debug("verify TLS: Nix CA file = '%s'", settings.caFile);
if (settings.caFile != "") if (settings.caFile != "")
curl_easy_setopt(req, CURLOPT_CAINFO, settings.caFile.c_str()); curl_easy_setopt(req, CURLOPT_CAINFO, settings.caFile.c_str());
} else { } else {