diff options
author | Colin Watson <cjwatson@debian.org> | 2020-02-21 11:57:14 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2020-02-21 11:57:14 +0000 |
commit | f0de78bd4f29fa688c5df116f3f9cd43543a76d0 (patch) | |
tree | 856b0dee3f2764c13a32dad5ffe2424fab7fef41 /regress/keygen-change.sh | |
parent | 4213eec74e74de6310c27a40c3e9759a08a73996 (diff) | |
parent | 8aa3455b16fddea4c0144a7c4a1edb10ec67dcc8 (diff) |
Import openssh_8.2p1.orig.tar.gz
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 |