diff options
author | Colin Watson <cjwatson@debian.org> | 2020-02-21 11:57:14 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2020-02-21 14:27:02 +0000 |
commit | 886e47e745586c34e81cfd5c5fb9b5dbc8e84d04 (patch) | |
tree | dd6c3b4dc64a17c520af7aaf213163f8a0a63e56 /regress/keygen-change.sh | |
parent | ac2b4c0697fcac554041ab95f81736887eadf6ec (diff) | |
parent | a2dabf35ce0228c86a288d11cc847a9d9801604f (diff) |
New upstream release (8.2p1)
Diffstat (limited to 'regress/keygen-change.sh')
-rw-r--r-- | regress/keygen-change.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/regress/keygen-change.sh b/regress/keygen-change.sh index 8b8acd52f..3863e33b5 100644 --- a/regress/keygen-change.sh +++ b/regress/keygen-change.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: keygen-change.sh,v 1.6 2017/04/30 23:34:55 djm Exp $ | 1 | # $OpenBSD: keygen-change.sh,v 1.9 2019/12/16 02:39:05 djm Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="change passphrase for key" | 4 | tid="change passphrase for key" |
@@ -6,10 +6,7 @@ tid="change passphrase for key" | |||
6 | S1="secret1" | 6 | S1="secret1" |
7 | S2="2secret" | 7 | S2="2secret" |
8 | 8 | ||
9 | KEYTYPES=`${SSH} -Q key-plain` | 9 | for t in $SSH_KEYTYPES; do |
10 | |||
11 | for t in $KEYTYPES; do | ||
12 | # generate user key for agent | ||
13 | trace "generating $t key" | 10 | trace "generating $t key" |
14 | rm -f $OBJ/$t-key | 11 | rm -f $OBJ/$t-key |
15 | ${SSHKEYGEN} -q -N ${S1} -t $t -f $OBJ/$t-key | 12 | ${SSHKEYGEN} -q -N ${S1} -t $t -f $OBJ/$t-key |