sslscan: enabling scanning for sslv3

This commit is contained in:
Robin Gloster
2020-04-13 21:23:22 +02:00
parent d1295c460f
commit f6be629595
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;
};
}