Skip to content

Commit

Permalink
openssl: expose 'enable-md2' option (#337885)
Browse files Browse the repository at this point in the history
  • Loading branch information
raboof authored Sep 12, 2024
2 parents 07535c6 + 6be6702 commit c02a0df
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/development/libraries/openssl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
, withZlib ? false, zlib
, enableSSL2 ? false
, enableSSL3 ? false
, enableMD2 ? false
, enableKTLS ? stdenv.isLinux
, static ? stdenv.hostPlatform.isStatic
# path to openssl.cnf file. will be placed in $etc/etc/ssl/openssl.cnf to replace the default
Expand Down Expand Up @@ -130,7 +131,8 @@ let
] ++ lib.optionals withCryptodev [
"-DHAVE_CRYPTODEV"
"-DUSE_CRYPTODEV_DIGESTS"
] ++ lib.optional enableSSL2 "enable-ssl2"
] ++ lib.optional enableMD2 "enable-md2"
++ lib.optional enableSSL2 "enable-ssl2"
++ lib.optional enableSSL3 "enable-ssl3"
# We select KTLS here instead of the configure-time detection (which we patch out).
# KTLS should work on FreeBSD 13+ as well, so we could enable it if someone tests it.
Expand Down

0 comments on commit c02a0df

Please sign in to comment.