summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh.c
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2017-04-30 23:18:44 +0000
committerdjm <djm@openbsd.org>2017-04-30 23:18:44 +0000
commit1ac668667ac74eb7b3fbc107a89499b442dc4599 (patch)
tree86cbb0d3fea821feec3ec905712a78cd9313633f /usr.bin/ssh/ssh.c
parentremove SSHv1 configuration options and man pages bits (diff)
downloadwireguard-openbsd-1ac668667ac74eb7b3fbc107a89499b442dc4599.tar.xz
wireguard-openbsd-1ac668667ac74eb7b3fbc107a89499b442dc4599.zip
remove KEY_RSA1
ok markus@
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r--usr.bin/ssh/ssh.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c
index 059ec406fc1..ee3f8460d3e 100644
--- a/usr.bin/ssh/ssh.c
+++ b/usr.bin/ssh/ssh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh.c,v 1.456 2017/04/30 23:15:04 djm Exp $ */
+/* $OpenBSD: ssh.c,v 1.457 2017/04/30 23:18:44 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1242,8 +1242,7 @@ main(int ac, char **av)
sensitive_data.nkeys = 0;
sensitive_data.keys = NULL;
sensitive_data.external_keysign = 0;
- if (options.rhosts_rsa_authentication ||
- options.hostbased_authentication) {
+ if (options.hostbased_authentication) {
sensitive_data.nkeys = 9;
sensitive_data.keys = xcalloc(sensitive_data.nkeys,
sizeof(Key));