summaryrefslogtreecommitdiff
path: root/regress/usr.bin/ssh
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2015-10-23 02:22:02 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2015-10-23 02:22:02 +0000
commitbf9ea3cd4452bbca291b1e36a28b20e1ef855d4b (patch)
tree6b2ec3b7afd2249af66d80efa8f013638dfa7e26 /regress/usr.bin/ssh
parent0edbe536637c1e11861393bd706965ac197c04a0 (diff)
Update expected group sizes to match recent code changes.
Diffstat (limited to 'regress/usr.bin/ssh')
-rw-r--r--regress/usr.bin/ssh/dhgex.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/dhgex.sh b/regress/usr.bin/ssh/dhgex.sh
index 57fca4a32e9..e7c5733974a 100644
--- a/regress/usr.bin/ssh/dhgex.sh
+++ b/regress/usr.bin/ssh/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