From 073300e3f9858edfb371e8745ae1a6dd221bfbfa Mon Sep 17 00:00:00 2001 From: dtucker Date: Fri, 23 Oct 2015 02:22:01 +0000 Subject: [PATCH] Update expected group sizes to match recent code changes. --- regress/usr.bin/ssh/dhgex.sh | 6 ++++-- 1 file 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 -- 2.20.1