summaryrefslogtreecommitdiffstats
path: root/ssh-keyscan.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2024-01-11 02:45:36 +0100
committerDamien Miller <djm@mindrot.org>2024-01-11 05:46:22 +0100
commit4e838120a759d187b036036610402cbda33f3203 (patch)
tree52d820a837210c51e6d7491bad1d1fb35cbb77f5 /ssh-keyscan.c
parentupstream: fix incorrect capitalisation; (diff)
downloadopenssh-4e838120a759d187b036036610402cbda33f3203.tar.xz
openssh-4e838120a759d187b036036610402cbda33f3203.zip
upstream: make DSA key support compile-time optional, defaulting to
on ok markus@ OpenBSD-Commit-ID: 4f8e98fc1fd6de399d0921d5b31b3127a03f581d
Diffstat (limited to 'ssh-keyscan.c')
-rw-r--r--ssh-keyscan.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ssh-keyscan.c b/ssh-keyscan.c
index af0dc79b8..f2e6b59e3 100644
--- a/ssh-keyscan.c
+++ b/ssh-keyscan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-keyscan.c,v 1.154 2023/12/20 00:06:25 jsg Exp $ */
+/* $OpenBSD: ssh-keyscan.c,v 1.155 2024/01/11 01:45:36 djm Exp $ */
/*
* Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
*
@@ -791,9 +791,11 @@ main(int argc, char **argv)
int type = sshkey_type_from_name(tname);
switch (type) {
+#ifdef WITH_DSA
case KEY_DSA:
get_keytypes |= KT_DSA;
break;
+#endif
case KEY_ECDSA:
get_keytypes |= KT_ECDSA;
break;