diff options
Diffstat (limited to 'regress/try-ciphers.sh')
-rw-r--r-- | regress/try-ciphers.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/regress/try-ciphers.sh b/regress/try-ciphers.sh index 2881ce16c..4165c7b88 100644 --- a/regress/try-ciphers.sh +++ b/regress/try-ciphers.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: try-ciphers.sh,v 1.23 2014/04/21 22:15:37 djm Exp $ | 1 | # $OpenBSD: try-ciphers.sh,v 1.24 2015/03/03 22:35:19 markus Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="try ciphers" | 4 | tid="try ciphers" |
@@ -26,7 +26,11 @@ for c in `${SSH} -Q cipher`; do | |||
26 | done | 26 | done |
27 | done | 27 | done |
28 | 28 | ||
29 | ciphers="3des blowfish" | 29 | if ssh_version 1; then |
30 | ciphers="3des blowfish" | ||
31 | else | ||
32 | ciphers="" | ||
33 | fi | ||
30 | for c in $ciphers; do | 34 | for c in $ciphers; do |
31 | trace "proto 1 cipher $c" | 35 | trace "proto 1 cipher $c" |
32 | verbose "test $tid: proto 1 cipher $c" | 36 | verbose "test $tid: proto 1 cipher $c" |