summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-keyscan.c
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2008-04-30 10:14:03 +0000
committerdjm <djm@openbsd.org>2008-04-30 10:14:03 +0000
commitca7a0d8690a8022e83ad9c4a8ce47df7edeb3627 (patch)
tree58c4c122fa0a61094e5f8e07341fc21d8691a929 /usr.bin/ssh/ssh-keyscan.c
parentDrop all MPLS packets when MPLS is not enabled. (diff)
downloadwireguard-openbsd-ca7a0d8690a8022e83ad9c4a8ce47df7edeb3627.tar.xz
wireguard-openbsd-ca7a0d8690a8022e83ad9c4a8ce47df7edeb3627.zip
default to rsa (protocol 2) keys, instead of rsa1 keys; spotted by
larsnooden AT openoffice.org
Diffstat (limited to 'usr.bin/ssh/ssh-keyscan.c')
-rw-r--r--usr.bin/ssh/ssh-keyscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-keyscan.c b/usr.bin/ssh/ssh-keyscan.c
index b3ec7f12d6c..466e3af73cc 100644
--- a/usr.bin/ssh/ssh-keyscan.c
+++ b/usr.bin/ssh/ssh-keyscan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-keyscan.c,v 1.75 2007/12/27 14:22:08 dtucker Exp $ */
+/* $OpenBSD: ssh-keyscan.c,v 1.76 2008/04/30 10:14:03 djm Exp $ */
/*
* Copyright 1995, 1996 by David Mazieres <dm@lcs.mit.edu>.
*
@@ -51,7 +51,7 @@ int ssh_port = SSH_DEFAULT_PORT;
#define KT_DSA 2
#define KT_RSA 4
-int get_keytypes = KT_RSA1; /* Get only RSA1 keys by default */
+int get_keytypes = KT_RSA; /* Get only RSA keys by default */
int hash_hosts = 0; /* Hash hostname on output */