[openssh-commits] [openssh] 02/03: upstream: Only test conversion of key types supported by the
git+noreply at mindrot.org
git+noreply at mindrot.org
Tue Jul 23 22:51:47 AEST 2019
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 3a3eab8bb0da3d2f0f32cb85a1a268bcca6e4d69
Author: dtucker at openbsd.org <dtucker at openbsd.org>
Date: Tue Jul 23 07:55:29 2019 +0000
upstream: Only test conversion of key types supported by the
binaries.
OpenBSD-Regress-ID: e3f0938a0a7407e2dfbb90abc3ec979ab6e8eeea
---
regress/keygen-convert.sh | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/regress/keygen-convert.sh b/regress/keygen-convert.sh
index ad0e9c63..fce110ea 100644
--- a/regress/keygen-convert.sh
+++ b/regress/keygen-convert.sh
@@ -1,9 +1,17 @@
-# $OpenBSD: keygen-convert.sh,v 1.1 2009/11/09 04:20:04 dtucker Exp $
+# $OpenBSD: keygen-convert.sh,v 1.2 2019/07/23 07:55:29 dtucker Exp $
# Placed in the Public Domain.
tid="convert keys"
-for t in rsa dsa; do
+types=""
+for i in ${SSH_KEYTYPES}; do
+ case "$i" in
+ ssh-dss) types="$types dsa" ;;
+ ssh-rsa) types="$types rsa" ;;
+ esac
+done
+
+for t in $types; do
# generate user key for agent
trace "generating $t key"
rm -f $OBJ/$t-key
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list