diff options
author | markus@openbsd.org <markus@openbsd.org> | 2015-02-13 18:57:00 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-02-17 09:32:30 +1100 |
commit | 02db468bf7e3281a8e3c058ced571b38b6407c34 (patch) | |
tree | eb6b4701a2c1cd917bc719256b3762ba8d31d690 /monitor.c | |
parent | 8ec67d505bd23c8bf9e17b7a364b563a07a58ec8 (diff) |
upstream commit
make rekey_limit for sshd w/privsep work; ok djm@
dtucker@
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: monitor.c,v 1.142 2015/02/06 23:21:59 millert Exp $ */ | 1 | /* $OpenBSD: monitor.c,v 1.143 2015/02/13 18:57:00 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> | 3 | * Copyright 2002 Niels Provos <provos@citi.umich.edu> |
4 | * Copyright 2002 Markus Friedl <markus@openbsd.org> | 4 | * Copyright 2002 Markus Friedl <markus@openbsd.org> |
@@ -1833,11 +1833,6 @@ monitor_apply_keystate(struct monitor *pmonitor) | |||
1833 | (ssh_packet_comp_alloc_func *)mm_zalloc, | 1833 | (ssh_packet_comp_alloc_func *)mm_zalloc, |
1834 | (ssh_packet_comp_free_func *)mm_zfree); | 1834 | (ssh_packet_comp_free_func *)mm_zfree); |
1835 | } | 1835 | } |
1836 | |||
1837 | if (options.rekey_limit || options.rekey_interval) | ||
1838 | ssh_packet_set_rekey_limits(ssh, | ||
1839 | (u_int32_t)options.rekey_limit, | ||
1840 | (time_t)options.rekey_interval); | ||
1841 | } | 1836 | } |
1842 | 1837 | ||
1843 | /* This function requries careful sanity checking */ | 1838 | /* This function requries careful sanity checking */ |