diff options
Diffstat (limited to 'regress/try-ciphers.sh')
-rw-r--r-- | regress/try-ciphers.sh | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/regress/try-ciphers.sh b/regress/try-ciphers.sh index 2c727f66c..103f410a8 100644 --- a/regress/try-ciphers.sh +++ b/regress/try-ciphers.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: try-ciphers.sh,v 1.8 2003/06/12 15:40:01 markus Exp $ | 1 | # $OpenBSD: try-ciphers.sh,v 1.9 2004/02/28 13:44:45 dtucker Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="try ciphers" | 4 | tid="try ciphers" |
@@ -28,3 +28,14 @@ for c in $ciphers; do | |||
28 | fail "ssh -1 failed with cipher $c" | 28 | fail "ssh -1 failed with cipher $c" |
29 | fi | 29 | fi |
30 | done | 30 | done |
31 | |||
32 | echo "Ciphers acss@openssh.org" >> $OBJ/sshd_proxy | ||
33 | c=acss@openssh.org | ||
34 | for m in $macs; do | ||
35 | trace "proto 2 $c mac $m" | ||
36 | verbose "test $tid: proto 2 cipher $c mac $m" | ||
37 | ${SSH} -F $OBJ/ssh_proxy -2 -m $m -c $c somehost true | ||
38 | if [ $? -ne 0 ]; then | ||
39 | fail "ssh -2 failed with mac $m cipher $c" | ||
40 | fi | ||
41 | done | ||