wolfssl: 5.5.1 -> 5.5.2

https://github.com/wolfSSL/wolfssl/releases/tag/v5.5.2-stable
Also includes a fix for CVE-2022-42905, the build option needed
for the vulnerability does not seem to be enabled in the derivation.
This commit is contained in:
Thomas Gerbet 2022-10-30 00:59:49 +02:00
parent 535abb755e
commit 7e8b8cee64
2 changed files with 7 additions and 3 deletions

View file

@ -1,19 +1,20 @@
{ lib
, stdenv
, fetchFromGitHub
, Security
, autoreconfHook
, openssl
}:
stdenv.mkDerivation rec {
pname = "wolfssl";
version = "5.5.1";
version = "5.5.2";
src = fetchFromGitHub {
owner = "wolfSSL";
repo = "wolfssl";
rev = "v${version}-stable";
sha256 = "sha256-gDY5uEvV5nNPObrar5Fq2UTW30UZ71CooUwQVJkq4l8=";
sha256 = "sha256-d8DDyEsK35WK7c0udZI5HxQLO+mbod8hlbSoa3IWWS0=";
};
postPatch = ''
@ -42,6 +43,7 @@ stdenv.mkDerivation rec {
"out"
];
propagatedBuildInputs = [ ] ++ lib.optionals stdenv.isDarwin [ Security ];
nativeBuildInputs = [
autoreconfHook
];

View file

@ -21535,7 +21535,9 @@ with pkgs;
boringssl = callPackage ../development/libraries/boringssl { };
wolfssl = callPackage ../development/libraries/wolfssl { };
wolfssl = callPackage ../development/libraries/wolfssl {
inherit (darwin.apple_sdk.frameworks) Security;
};
openssl = openssl_3;