Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
26 lines
862 B
Diff
26 lines
862 B
Diff
diff --git a/Configure b/Configure
|
|
index a558e5ab1a..9a884f0b0f 100755
|
|
--- a/Configure
|
|
+++ b/Configure
|
|
@@ -1714,20 +1714,6 @@ unless ($disabled{devcryptoeng}) {
|
|
|
|
unless ($disabled{ktls}) {
|
|
$config{ktls}="";
|
|
- my $cc = $config{CROSS_COMPILE}.$config{CC};
|
|
- if ($target =~ m/^linux/) {
|
|
- system("printf '#include <sys/types.h>\n#include <linux/tls.h>' | $cc -E - >/dev/null 2>&1");
|
|
- if ($? != 0) {
|
|
- disable('too-old-kernel', 'ktls');
|
|
- }
|
|
- } elsif ($target =~ m/^BSD/) {
|
|
- system("printf '#include <sys/types.h>\n#include <sys/ktls.h>' | $cc -E - >/dev/null 2>&1");
|
|
- if ($? != 0) {
|
|
- disable('too-old-freebsd', 'ktls');
|
|
- }
|
|
- } else {
|
|
- disable('not-linux-or-freebsd', 'ktls');
|
|
- }
|
|
}
|
|
|
|
push @{$config{openssl_other_defines}}, "OPENSSL_NO_KTLS" if ($disabled{ktls});
|