diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2014-03-27 23:01:28 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2014-03-27 23:01:28 +0000 |
commit | 353fc667b4845bf583639cdf43d0cec1616fa115 (patch) | |
tree | 8a89bbeb1951a8e4ad5b35d8fe27c73d4f820549 /usr.bin/ssh/sshd.c | |
parent | bc3a8b3fb8e404de340464dce988d4ab7f2b0664 (diff) |
disable weak proposals in sshd, but keep them in ssh; ok djm@
Diffstat (limited to 'usr.bin/ssh/sshd.c')
-rw-r--r-- | usr.bin/ssh/sshd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index b827c269bf4..9efd1b142c3 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/sshd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshd.c,v 1.421 2014/03/26 19:58:37 tedu Exp $ */ +/* $OpenBSD: sshd.c,v 1.422 2014/03/27 23:01:27 markus Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -2266,6 +2266,7 @@ sshd_hostkey_sign(Key *privkey, Key *pubkey, u_char **signature, u_int *slen, static void do_ssh2_kex(void) { + char *myproposal[PROPOSAL_MAX] = { KEX_SERVER }; Kex *kex; if (options.ciphers != NULL) { |