summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-07-03 03:47:00 +0000
committerDamien Miller <djm@mindrot.org>2015-07-15 15:35:31 +1000
commitbdfd29f60b74f3e678297269dc6247a5699583c1 (patch)
treef05bd48778749ef29b635a4c113c00e795ba4e7f /sshd.c
parentc28fc62d789d860c75e23a9fa9fb250eb2beca57 (diff)
upstream commit
turn off 1024 bit diffie-hellman-group1-sha1 key exchange method (already off in server, this turns it off in the client by default too) ok dtucker@ Upstream-ID: f59b88f449210ab7acf7d9d88f20f1daee97a4fa
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sshd.c b/sshd.c
index 15af4e8e5..801050013 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshd.c,v 1.451 2015/07/03 03:43:18 djm Exp $ */ 1/* $OpenBSD: sshd.c,v 1.452 2015/07/03 03:47:00 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -2523,9 +2523,7 @@ sshd_hostkey_sign(Key *privkey, Key *pubkey, u_char **signature, size_t *slen,
2523 return 0; 2523 return 0;
2524} 2524}
2525 2525
2526/* 2526/* SSH2 key exchange */
2527 * SSH2 key exchange: diffie-hellman-group1-sha1
2528 */
2529static void 2527static void
2530do_ssh2_kex(void) 2528do_ssh2_kex(void)
2531{ 2529{