=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/sshd.c,v retrieving revision 1.423 retrieving revision 1.424 diff -u -r1.423 -r1.424 --- src/usr.bin/ssh/sshd.c 2014/04/12 04:55:53 1.423 +++ src/usr.bin/ssh/sshd.c 2014/04/18 23:52:25 1.424 @@ -1,4 +1,4 @@ -/* $OpenBSD: sshd.c,v 1.423 2014/04/12 04:55:53 djm Exp $ */ +/* $OpenBSD: sshd.c,v 1.424 2014/04/18 23:52:25 djm Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -2291,6 +2291,9 @@ } if (options.kex_algorithms != NULL) myproposal[PROPOSAL_KEX_ALGS] = options.kex_algorithms; + + myproposal[PROPOSAL_KEX_ALGS] = compat_kex_proposal( + myproposal[PROPOSAL_KEX_ALGS]); if (options.rekey_limit || options.rekey_interval) packet_set_rekey_limits((u_int32_t)options.rekey_limit,