Skip to content

Commit

Permalink
s2n-tls: disable unsupported feature (post-quantum cryptography) on m…
Browse files Browse the repository at this point in the history
…ips64 (#161163)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
  • Loading branch information
Adam Joseph and SuperSandro2000 authored Apr 11, 2022
1 parent 8b319c0 commit 3377270
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/libraries/s2n-tls/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ stdenv.mkDerivation rec {
"-DBUILD_SHARED_LIBS=ON"
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
"-DUNSAFE_TREAT_WARNINGS_AS_ERRORS=OFF" # disable -Werror
] ++ lib.optionals stdenv.hostPlatform.isMips64 [
# See https://github.com/aws/s2n-tls/issues/1592 and https://github.com/aws/s2n-tls/pull/1609
"-DS2N_NO_PQ=ON"
];

propagatedBuildInputs = [ openssl ]; # s2n-config has find_dependency(LibCrypto).
Expand Down

0 comments on commit 3377270

Please sign in to comment.