openssl 3.0.0: enable ktls support

This commit is contained in:
Izorkin 2021-11-22 19:51:52 +03:00
parent 821f42f182
commit 9419b653ba
No known key found for this signature in database
GPG Key ID: 1436C1B3F3679F09

View File

@ -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