diff options
author | markus@openbsd.org <markus@openbsd.org> | 2015-03-24 20:19:15 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-04-01 10:02:56 +1100 |
commit | 9e1777a0d1c706714b055811c12ab8cc21033e4a (patch) | |
tree | b244b19f5e17c70b306ff21aa1d60b4d4e27e4dd /regress/try-ciphers.sh | |
parent | ce1b358ea414a2cc88e4430cd5a2ea7fecd9de57 (diff) | |
download | openssh-git-9e1777a0d1c706714b055811c12ab8cc21033e4a.tar.gz |
upstream commit
use ${SSH} for -Q instead of installed ssh
Diffstat (limited to 'regress/try-ciphers.sh')
-rw-r--r-- | regress/try-ciphers.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/try-ciphers.sh b/regress/try-ciphers.sh index 4165c7b8..889a735d 100644 --- a/regress/try-ciphers.sh +++ b/regress/try-ciphers.sh @@ -1,4 +1,4 @@ -# $OpenBSD: try-ciphers.sh,v 1.24 2015/03/03 22:35:19 markus Exp $ +# $OpenBSD: try-ciphers.sh,v 1.25 2015/03/24 20:22:17 markus Exp $ # Placed in the Public Domain. tid="try ciphers" @@ -19,7 +19,7 @@ for c in `${SSH} -Q cipher`; do fi # No point trying all MACs for AEAD ciphers since they # are ignored. - if ssh -Q cipher-auth | grep "^${c}\$" >/dev/null 2>&1 ; then + if ${SSH} -Q cipher-auth | grep "^${c}\$" >/dev/null 2>&1 ; then break fi n=`expr $n + 1` |