summaryrefslogtreecommitdiff
path: root/regress/keygen-change.sh
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-01-13 08:23:26 +0000
committerDamien Miller <djm@mindrot.org>2015-01-15 21:39:16 +1100
commitcfaa57962f8536f3cf0fd7daf4d6a55d6f6de45f (patch)
tree7b149a76613e86dceddab910051b2bf855ff9d78 /regress/keygen-change.sh
parent0920553d0aee117a596b03ed5b49b280d34a32c5 (diff)
upstream commit
use $SSH instead of installed ssh to allow override; spotted by markus@
Diffstat (limited to 'regress/keygen-change.sh')
-rw-r--r--regress/keygen-change.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/keygen-change.sh b/regress/keygen-change.sh
index dda54d04..04a0d54f 100644
--- a/regress/keygen-change.sh
+++ b/regress/keygen-change.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: keygen-change.sh,v 1.3 2015/01/12 11:12:38 djm Exp $
+# $OpenBSD: keygen-change.sh,v 1.4 2015/01/13 08:23:26 djm Exp $
# Placed in the Public Domain.
tid="change passphrase for key"
@@ -6,7 +6,7 @@ tid="change passphrase for key"
S1="secret1"
S2="2secret"
-for t in `ssh -Q key-plain` ; do
+for t in `${SSH} -Q key-plain` ; do
# generate user key for agent
trace "generating $t key"
rm -f $OBJ/$t-key