From 19bcf2ea2d17413f2d9730dd2a19575ff86b9b6a Mon Sep 17 00:00:00 2001 From: "djm@openbsd.org" Date: Mon, 8 Feb 2016 10:57:07 +0000 Subject: upstream commit refactor activation of rekeying This makes automatic rekeying internal to the packet code (previously the server and client loops needed to assist). In doing to it makes application of rekey limits more accurate by accounting for packets about to be sent as well as packets queued during rekeying events themselves. Based on a patch from dtucker@ which was in turn based on a patch Aleksander Adamowski in bz#2521; ok markus@ Upstream-ID: a441227fd64f9739850ca97b4cf794202860fcd8 --- opacket.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'opacket.h') diff --git a/opacket.h b/opacket.h index b14b6769a..c26ade44c 100644 --- a/opacket.h +++ b/opacket.h @@ -125,8 +125,6 @@ void packet_disconnect(const char *, ...) sshpkt_add_padding(active_state, (pad)) #define packet_send_ignore(nbytes) \ ssh_packet_send_ignore(active_state, (nbytes)) -#define packet_need_rekeying() \ - ssh_packet_need_rekeying(active_state) #define packet_set_server() \ ssh_packet_set_server(active_state) #define packet_set_authenticated() \ -- cgit v1.2.3