sslscan: enable ssl2 checking

This commit is contained in:
Robin Gloster 2016-10-12 14:36:00 +02:00
parent dabcd7d4c8
commit b743ddf8f9
No known key found for this signature in database
GPG key ID: 5E4C836C632C2882
2 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,6 @@
{ stdenv, fetchurl, perl
, withCryptodev ? false, cryptodevHeaders }:
, withCryptodev ? false, cryptodevHeaders
, enableSSL2 ? false }:
with stdenv.lib;
@ -44,7 +45,7 @@ let
] ++ stdenv.lib.optionals withCryptodev [
"-DHAVE_CRYPTODEV"
"-DUSE_CRYPTODEV_DIGESTS"
];
] ++ stdenv.lib.optional enableSSL2 "enable-ssl2";
makeFlags = [ "MANDIR=$(man)/share/man" ];

View file

@ -3703,7 +3703,7 @@ in
sshpass = callPackage ../tools/networking/sshpass { };
sslscan = callPackage ../tools/security/sslscan {
openssl = openssl_1_0_1;
openssl = openssl_1_0_1.override { enableSSL2 = true; };
};
sslmate = callPackage ../development/tools/sslmate { };