|
|
|
@ -108,6 +108,7 @@ let |
|
|
|
|
"-DUSE_CRYPTODEV_DIGESTS" |
|
|
|
|
] ++ lib.optional enableSSL2 "enable-ssl2" |
|
|
|
|
++ lib.optional enableSSL3 "enable-ssl3" |
|
|
|
|
++ lib.optional (versionAtLeast version "3.0.0") "enable-ktls" |
|
|
|
|
++ 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 |
|
|
|
|