summaryrefslogtreecommitdiffstats
path: root/regress/keyscan.sh
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-09-11 03:44:21 +0000
committerDamien Miller <djm@mindrot.org>2015-09-16 18:01:08 +1000
commit9c06c814aff925e11a5cc592c06929c258a014f6 (patch)
tree6442a9a3114247c3a3f29e18407ecafc4daaf51e /regress/keyscan.sh
parent3c019a936b43f3e2773f3edbde7c114d73caaa4c (diff)
upstream commit
try all supported key types here; bz#2455 reported by Jakub Jelen Upstream-Regress-ID: 188cb7d9031cdbac3a0fa58b428b8fa2b2482bba
Diffstat (limited to 'regress/keyscan.sh')
-rw-r--r--regress/keyscan.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/keyscan.sh b/regress/keyscan.sh
index 886f3295..f97364b7 100644
--- a/regress/keyscan.sh
+++ b/regress/keyscan.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: keyscan.sh,v 1.4 2015/03/03 22:35:19 markus Exp $
+# $OpenBSD: keyscan.sh,v 1.5 2015/09/11 03:44:21 djm Exp $
# Placed in the Public Domain.
tid="keyscan"
@@ -8,7 +8,7 @@ rm -f ${OBJ}/host.dsa
start_sshd
-KEYTYPES="rsa dsa"
+KEYTYPES=`${SSH} -Q key-plain`
if ssh_version 1; then
KEYTYPES="${KEYTYPES} rsa1"
fi