Merge pull request #85177 from mayflower/sslscan-openssl-ssl3
sslscan: enabling scanning for sslv3
This commit is contained in:
commit
85e15b545a
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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -6744,7 +6744,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 { };
|
||||
|
|
Loading…
Reference in a new issue