diff options
author | Colin Watson <cjwatson@debian.org> | 2016-02-29 12:15:15 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2016-03-08 11:51:22 +0000 |
commit | 46961f5704f8e86cea3e99253faad55aef4d8f35 (patch) | |
tree | 0dd97fa4fb649a62b4639fe2674380872b1f3e98 /regress/dhgex.sh | |
parent | c753fe267efb1b027424fa8706cf0385fc3d14c1 (diff) | |
parent | 85e40e87a75fb80a0bf893ac05a417d6c353537d (diff) |
New upstream release (7.2).
Diffstat (limited to 'regress/dhgex.sh')
-rw-r--r-- | regress/dhgex.sh | 6 |
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 @@ | |||
1 | # $OpenBSD: dhgex.sh,v 1.2 2014/04/21 22:15:37 djm Exp $ | 1 | # $OpenBSD: dhgex.sh,v 1.3 2015/10/23 02:22:01 dtucker Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="dhgex" | 4 | tid="dhgex" |
@@ -20,7 +20,9 @@ ssh_test_dhgex() | |||
20 | echo "Ciphers=$cipher" >> $OBJ/sshd_proxy | 20 | echo "Ciphers=$cipher" >> $OBJ/sshd_proxy |
21 | rm -f ${LOG} | 21 | rm -f ${LOG} |
22 | opts="-oKexAlgorithms=$kex -oCiphers=$cipher" | 22 | opts="-oKexAlgorithms=$kex -oCiphers=$cipher" |
23 | groupsz="1024<$bits<8192" | 23 | min=2048 |
24 | max=8192 | ||
25 | groupsz="$min<$bits<$max" | ||
24 | verbose "$tid bits $bits $kex $cipher" | 26 | verbose "$tid bits $bits $kex $cipher" |
25 | ${SSH} ${opts} $@ -vvv -F ${OBJ}/ssh_proxy somehost true | 27 | ${SSH} ${opts} $@ -vvv -F ${OBJ}/ssh_proxy somehost true |
26 | if [ $? -ne 0 ]; then | 28 | if [ $? -ne 0 ]; then |