aboutsummaryrefslogtreecommitdiff
path: root/pkgs/tools/networking/stunnel
diff options
context:
space:
mode:
authorSLNOS <anonymous@wired>2018-02-01 00:00:00 +0000
committerJan Malakhovski <oxij@oxij.org>2018-02-10 00:24:20 +0000
commit3be3c2906ed6e8a60f4adbbe8ff18fbbd2797d0c (patch)
tree7ed1856720d9c368ecde977bb973a3c7a85b4018 /pkgs/tools/networking/stunnel
parent2341c81427420be95cd9f8640e3e96e3e317c645 (diff)
stunnel: fetchurl more securely
Diffstat (limited to 'pkgs/tools/networking/stunnel')
-rw-r--r--pkgs/tools/networking/stunnel/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/networking/stunnel/default.nix b/pkgs/tools/networking/stunnel/default.nix
index deac3746836..0d328c02d37 100644
--- a/pkgs/tools/networking/stunnel/default.nix
+++ b/pkgs/tools/networking/stunnel/default.nix
@@ -5,8 +5,10 @@ stdenv.mkDerivation rec {
version = "5.44";
src = fetchurl {
- url = "http://www.stunnel.org/downloads/${name}.tar.gz";
- sha256 = "1692y69wl7j6yjgnrrzclgzb34bxsaxjzl1dfy47vms7pdfk42lr";
+ url = "https://www.stunnel.org/downloads/${name}.tar.gz";
+ sha256 = "990a325dbb47d77d88772dd02fbbd27d91b1fea3ece76c9ff4461eca93f12299";
+ # please use the contents of "https://www.stunnel.org/downloads/${name}.tar.gz.sha256",
+ # not the output of `nix-prefetch-url`
};
buildInputs = [ openssl ];