mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Merge pull request #11585 from NixOS/verify-tls
builtin:fetchurl: Enable TLS verification
This commit is contained in:
commit
062b4a489e
4 changed files with 88 additions and 3 deletions
|
@ -38,10 +38,7 @@ void builtinFetchurl(
|
|||
|
||||
auto source = sinkToSource([&](Sink & sink) {
|
||||
|
||||
/* No need to do TLS verification, because we check the hash of
|
||||
the result anyway. */
|
||||
FileTransferRequest request(url);
|
||||
request.verifyTLS = false;
|
||||
request.decompress = false;
|
||||
|
||||
auto decompressor = makeDecompressionSink(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue