summaryrefslogtreecommitdiff
path: root/debian/openssh-server.config
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2008-03-22 12:35:46 +0000
committerColin Watson <cjwatson@debian.org>2008-03-22 12:35:46 +0000
commit64039657105c48c475c621684a8d09abcdd5dbf6 (patch)
tree1f6e926ecd577ec4690bf349aa39d4ebfdcf6160 /debian/openssh-server.config
parent1fd4eb3d0025d544928da833ad1d171bbc785149 (diff)
* Use printf rather than echo -en (a bashism) in openssh-server.config and
openssh-server.preinst.
Diffstat (limited to 'debian/openssh-server.config')
-rw-r--r--debian/openssh-server.config2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/openssh-server.config b/debian/openssh-server.config
index f8ba7c7f7..d977cb918 100644
--- a/debian/openssh-server.config
+++ b/debian/openssh-server.config
@@ -62,7 +62,7 @@ then
62 # actually does the work, but if the old ssh-keygen is not found, 62 # actually does the work, but if the old ssh-keygen is not found,
63 # it can't do that -- thus, we tell the user that he must create 63 # it can't do that -- thus, we tell the user that he must create
64 # a new host key. 64 # a new host key.
65 echo -en '\0\0' | 3<&0 sh -c \ 65 printf '\0\0' | 3<&0 sh -c \
66 'dd if=$key bs=1 skip=32 count=2 2>/dev/null | cmp -s - /dev/fd/3' || { 66 'dd if=$key bs=1 skip=32 count=2 2>/dev/null | cmp -s - /dev/fd/3' || {
67 # this means that bytes 32&33 of the key were not both zero, in which 67 # this means that bytes 32&33 of the key were not both zero, in which
68 # case the key is encrypted, which we need to fix 68 # case the key is encrypted, which we need to fix