summaryrefslogtreecommitdiffstats
path: root/regress/dhgex.sh
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2015-10-23 04:22:01 +0200
committerDamien Miller <djm@mindrot.org>2015-10-25 04:56:09 +0100
commit86c10dbbef6a5800d2431a66cf7f41a954bb62b5 (patch)
tree461477bdd305349b7bcd78a8008b43d33e034fe2 /regress/dhgex.sh
parentupstream commit (diff)
downloadopenssh-86c10dbbef6a5800d2431a66cf7f41a954bb62b5.tar.xz
openssh-86c10dbbef6a5800d2431a66cf7f41a954bb62b5.zip
upstream commit
Update expected group sizes to match recent code changes. Upstream-Regress-ID: 0004f0ea93428969fe75bcfff0d521c553977794
Diffstat (limited to '')
-rw-r--r--regress/dhgex.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/regress/dhgex.sh b/regress/dhgex.sh
index 57fca4a32..e7c573397 100644
--- a/regress/dhgex.sh
+++ b/regress/dhgex.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: dhgex.sh,v 1.2 2014/04/21 22:15:37 djm Exp $
+# $OpenBSD: dhgex.sh,v 1.3 2015/10/23 02:22:01 dtucker Exp $
# Placed in the Public Domain.
tid="dhgex"
@@ -20,7 +20,9 @@ ssh_test_dhgex()
echo "Ciphers=$cipher" >> $OBJ/sshd_proxy
rm -f ${LOG}
opts="-oKexAlgorithms=$kex -oCiphers=$cipher"
- groupsz="1024<$bits<8192"
+ min=2048
+ max=8192
+ groupsz="$min<$bits<$max"
verbose "$tid bits $bits $kex $cipher"
${SSH} ${opts} $@ -vvv -F ${OBJ}/ssh_proxy somehost true
if [ $? -ne 0 ]; then