summaryrefslogtreecommitdiff
path: root/debian/openssh-server.preinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/openssh-server.preinst')
-rw-r--r--debian/openssh-server.preinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/openssh-server.preinst b/debian/openssh-server.preinst
index 4ca7f2f6e..e6c150ba5 100644
--- a/debian/openssh-server.preinst
+++ b/debian/openssh-server.preinst
@@ -112,7 +112,7 @@ EOF
112 # nonfree ssh-keygen at this point 112 # nonfree ssh-keygen at this point
113 # 113 #
114 # First, check if we need to bother 114 # First, check if we need to bother
115 echo -en '\0\0' | 3<&0 sh -c \ 115 printf '\0\0' | 3<&0 sh -c \
116 'dd if=$key bs=1 skip=32 count=2 2>/dev/null | cmp -s - /dev/fd/3' || { 116 'dd if=$key bs=1 skip=32 count=2 2>/dev/null | cmp -s - /dev/fd/3' || {
117 # this means that bytes 32&33 of the key were not both zero, in which 117 # this means that bytes 32&33 of the key were not both zero, in which
118 # case the key is encrypted, which we need to fix 118 # case the key is encrypted, which we need to fix