summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 18b2bf3..9dc2801 100755
--- a/debian/rules
+++ b/debian/rules
@@ -163,6 +163,10 @@ override_dh_install-arch:
debian/tmp/etc/ssh/ssh_config \
debian/tmp/etc/ssh/sshd_config
+ # Remove small Diffie-Hellman moduli
+ awk '$$5 >= 4095' debian/tmp/etc/ssh/moduli > debian/tmp/etc/ssh/moduli.tmp
+ mv -f debian/tmp/etc/ssh/moduli.tmp debian/tmp/etc/ssh/moduli
+
dh_install -Nopenssh-client-udeb -Nopenssh-server-udeb
ifeq ($(filter noudeb,$(DEB_BUILD_PROFILES)),)
dh_install -popenssh-client-udeb -popenssh-server-udeb \