summaryrefslogtreecommitdiff
path: root/regress/test-exec.sh
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2019-06-14 11:57:15 +0100
committerColin Watson <cjwatson@debian.org>2019-06-21 16:14:04 +0100
commit42519a0f32765726ccd18a14aa6e877413a69662 (patch)
tree642512cd53f5497970975071d30d4ac9bb63c45e /regress/test-exec.sh
parentd38283cc4cba6bf7685a16898a3b9d3a6cecf661 (diff)
Fix interop tests for recent regress changes
A recent regress change (2a9b3a2ce411d16cda9c79ab713c55f65b0ec257 in portable) broke the PuTTY and Twisted Conch interop tests, because the key they want to use is now called ssh-rsa rather than rsa. Fix them. Forwarded: https://bugzilla.mindrot.org/show_bug.cgi?id=3020 Last-Update: 2019-06-14 Patch-Name: fix-interop-tests.patch
Diffstat (limited to 'regress/test-exec.sh')
-rw-r--r--regress/test-exec.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/regress/test-exec.sh b/regress/test-exec.sh
index b8e2009de..efde6a173 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -527,13 +527,13 @@ if test "$REGRESS_INTEROP_PUTTY" = "yes" ; then
527 >> $OBJ/authorized_keys_$USER 527 >> $OBJ/authorized_keys_$USER
528 528
529 # Convert rsa2 host key to PuTTY format 529 # Convert rsa2 host key to PuTTY format
530 cp $OBJ/rsa $OBJ/rsa_oldfmt 530 cp $OBJ/ssh-rsa $OBJ/ssh-rsa_oldfmt
531 ${SSHKEYGEN} -p -N '' -m PEM -f $OBJ/rsa_oldfmt >/dev/null 531 ${SSHKEYGEN} -p -N '' -m PEM -f $OBJ/ssh-rsa_oldfmt >/dev/null
532 ${SRC}/ssh2putty.sh 127.0.0.1 $PORT $OBJ/rsa_oldfmt > \ 532 ${SRC}/ssh2putty.sh 127.0.0.1 $PORT $OBJ/ssh-rsa_oldfmt > \
533 ${OBJ}/.putty/sshhostkeys 533 ${OBJ}/.putty/sshhostkeys
534 ${SRC}/ssh2putty.sh 127.0.0.1 22 $OBJ/rsa_oldfmt >> \ 534 ${SRC}/ssh2putty.sh 127.0.0.1 22 $OBJ/ssh-rsa_oldfmt >> \
535 ${OBJ}/.putty/sshhostkeys 535 ${OBJ}/.putty/sshhostkeys
536 rm -f $OBJ/rsa_oldfmt 536 rm -f $OBJ/ssh-rsa_oldfmt
537 537
538 # Setup proxied session 538 # Setup proxied session
539 mkdir -p ${OBJ}/.putty/sessions 539 mkdir -p ${OBJ}/.putty/sessions