Commit 7e8b8cee authored by Thomas Gerbet's avatar Thomas Gerbet
Browse files

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.
parent 535abb75
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
{ 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
  ];
+3 −1
Original line number Diff line number Diff line
@@ -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;