sslscan: enabling scanning for sslv3

This commit is contained in:
Robin Gloster 2020-04-13 21:23:22 +02:00
parent d1295c460f
commit f6be629595
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF
2 changed files with 6 additions and 2 deletions

@ -1,6 +1,7 @@
{ stdenv, fetchurl, buildPackages, perl, coreutils
, withCryptodev ? false, cryptodev
, enableSSL2 ? false
, enableSSL3 ? false
, static ? false
}:
@ -76,6 +77,7 @@ let
"-DHAVE_CRYPTODEV"
"-DUSE_CRYPTODEV_DIGESTS"
] ++ stdenv.lib.optional enableSSL2 "enable-ssl2"
++ stdenv.lib.optional enableSSL3 "enable-ssl3"
++ stdenv.lib.optional (versionAtLeast version "1.1.0" && stdenv.hostPlatform.isAarch64) "no-afalgeng"
# OpenSSL needs a specific `no-shared` configure flag.
# See https://wiki.openssl.org/index.php/Compilation_and_Installation#Configure_Options
@ -164,5 +166,4 @@ in {
];
withDocs = true;
};
}

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