Skip to content

Commit

Permalink
Merge pull request #80746 from vcunat/p/openssl-eol
Browse files Browse the repository at this point in the history
openssl_1_0_2: mark as insecure; fixes #77503 (kinda)
  • Loading branch information
worldofpeace authored Feb 27, 2020
2 parents 76f4f6b + 7cda282 commit b1ec189
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/development/libraries/openssl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
with stdenv.lib;

let
common = { version, sha256, patches ? [], withDocs ? false }: stdenv.mkDerivation rec {
common = { version, sha256, patches ? [], withDocs ? false, extraMeta ? {} }:
stdenv.mkDerivation rec {
pname = "openssl";
inherit version;

Expand Down Expand Up @@ -130,7 +131,7 @@ let
license = licenses.openssl;
platforms = platforms.all;
maintainers = [ maintainers.peti ];
};
} // extraMeta;
};

in {
Expand All @@ -145,6 +146,7 @@ in {
then ./1.0.2/use-etc-ssl-certs-darwin.patch
else ./1.0.2/use-etc-ssl-certs.patch)
];
extraMeta.knownVulnerabilities = [ "Support for OpenSSL 1.0.2 ended with 2019." ];
};

openssl_1_1 = common {
Expand Down

0 comments on commit b1ec189

Please sign in to comment.