summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sshd.c b/sshd.c
index 09644914c..fe78d7b66 100644
--- a/sshd.c
+++ b/sshd.c
@@ -2534,6 +2534,9 @@ do_ssh2_kex(void)
2534 if (options.kex_algorithms != NULL) 2534 if (options.kex_algorithms != NULL)
2535 myproposal[PROPOSAL_KEX_ALGS] = options.kex_algorithms; 2535 myproposal[PROPOSAL_KEX_ALGS] = options.kex_algorithms;
2536 2536
2537 myproposal[PROPOSAL_KEX_ALGS] = compat_kex_proposal(
2538 myproposal[PROPOSAL_KEX_ALGS]);
2539
2537 if (options.rekey_limit || options.rekey_interval) 2540 if (options.rekey_limit || options.rekey_interval)
2538 packet_set_rekey_limits((u_int32_t)options.rekey_limit, 2541 packet_set_rekey_limits((u_int32_t)options.rekey_limit,
2539 (time_t)options.rekey_interval); 2542 (time_t)options.rekey_interval);