summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--regress/keygen-convert.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/regress/keygen-convert.sh b/regress/keygen-convert.sh
index ad0e9c637..fce110ea1 100644
--- a/regress/keygen-convert.sh
+++ b/regress/keygen-convert.sh
@@ -1,9 +1,17 @@
1# $OpenBSD: keygen-convert.sh,v 1.1 2009/11/09 04:20:04 dtucker Exp $ 1# $OpenBSD: keygen-convert.sh,v 1.2 2019/07/23 07:55:29 dtucker Exp $
2# Placed in the Public Domain. 2# Placed in the Public Domain.
3 3
4tid="convert keys" 4tid="convert keys"
5 5
6for t in rsa dsa; do 6types=""
7for i in ${SSH_KEYTYPES}; do
8 case "$i" in
9 ssh-dss) types="$types dsa" ;;
10 ssh-rsa) types="$types rsa" ;;
11 esac
12done
13
14for t in $types; do
7 # generate user key for agent 15 # generate user key for agent
8 trace "generating $t key" 16 trace "generating $t key"
9 rm -f $OBJ/$t-key 17 rm -f $OBJ/$t-key