]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream commit
authordjm@openbsd.org <djm@openbsd.org>
Wed, 7 Jun 2017 01:48:15 +0000 (01:48 +0000)
committerDamien Miller <djm@mindrot.org>
Thu, 8 Jun 2017 03:11:11 +0000 (13:11 +1000)
unbreak after sshv1 purge

Upstream-Regress-ID: 8ea01a92d5f571b9fba88c1463a4254a7552d51b

regress/proto-version.sh

index 5faeb758cfa99a0909aa28702736ba5b51ca590b..1f33b1f00b773af7b77b11a8bde64503d4af63e9 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: proto-version.sh,v 1.6 2017/04/30 23:34:55 djm Exp $
+#      $OpenBSD: proto-version.sh,v 1.7 2017/06/07 01:48:15 djm Exp $
 #      Placed in the Public Domain.
 
 tid="sshd version with different protocol combinations"
@@ -6,7 +6,7 @@ tid="sshd version with different protocol combinations"
 # we just start sshd in inetd mode and check the banner
 check_version ()
 {
-       expect=$2
+       expect=$1
        banner=`printf '' | ${SSHD} -i -f ${OBJ}/sshd_proxy`
        case ${banner} in
        SSH-1.99-*)