diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-02-29 21:30:05 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-02-29 21:30:05 +1100 |
commit | b099d855d3288f60d397144314f7cb3cd57cf790 (patch) | |
tree | c416bfa239096bd0d12fbbeec0d206f2e6618bc5 /regress | |
parent | 9468ba33a1d1a5fd6258658dee1058500e1082f0 (diff) |
- (dtucker) [regress/try-ciphers.sh] Skip acss if not compiled in (eg if we
built with openssl < 0.9.7)
Diffstat (limited to 'regress')
-rw-r--r-- | regress/try-ciphers.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/regress/try-ciphers.sh b/regress/try-ciphers.sh index 103f410a8..15827e250 100644 --- a/regress/try-ciphers.sh +++ b/regress/try-ciphers.sh | |||
@@ -29,6 +29,9 @@ for c in $ciphers; do | |||
29 | fi | 29 | fi |
30 | done | 30 | done |
31 | 31 | ||
32 | if ! ${SSH} -oCiphers=acss@openssh.org 2>&1 | grep "Bad SSH2 cipher" >/dev/null | ||
33 | then | ||
34 | |||
32 | echo "Ciphers acss@openssh.org" >> $OBJ/sshd_proxy | 35 | echo "Ciphers acss@openssh.org" >> $OBJ/sshd_proxy |
33 | c=acss@openssh.org | 36 | c=acss@openssh.org |
34 | for m in $macs; do | 37 | for m in $macs; do |
@@ -39,3 +42,5 @@ for m in $macs; do | |||
39 | fail "ssh -2 failed with mac $m cipher $c" | 42 | fail "ssh -2 failed with mac $m cipher $c" |
40 | fi | 43 | fi |
41 | done | 44 | done |
45 | |||
46 | fi | ||