Update expected group sizes to match recent code changes.
authordtucker <dtucker@openbsd.org>
Fri, 23 Oct 2015 02:22:01 +0000 (02:22 +0000)
committerdtucker <dtucker@openbsd.org>
Fri, 23 Oct 2015 02:22:01 +0000 (02:22 +0000)
regress/usr.bin/ssh/dhgex.sh

index 57fca4a..e7c5733 100644 (file)
@@ -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