mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-11-27 05:46:36 +08:00
upstream: whitespace
OpenBSD-Commit-ID: c2bcbf93610d3d62ed206cdf9bf9ff98c6aaf232
This commit is contained in:
parent
e60136a3d7
commit
fcf5365da6
4
packet.c
4
packet.c
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: packet.c,v 1.307 2022/01/22 00:49:34 djm Exp $ */
|
||||
/* $OpenBSD: packet.c,v 1.308 2022/08/31 02:56:40 djm Exp $ */
|
||||
/*
|
||||
* Author: Tatu Ylonen <ylo@cs.hut.fi>
|
||||
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
|
||||
@ -986,7 +986,7 @@ ssh_packet_need_rekeying(struct ssh *ssh, u_int outbound_packet_len)
|
||||
return 1;
|
||||
|
||||
/*
|
||||
* Always rekey when MAX_PACKETS sent in either direction
|
||||
* Always rekey when MAX_PACKETS sent in either direction
|
||||
* As per RFC4344 section 3.1 we do this after 2^31 packets.
|
||||
*/
|
||||
if (state->p_send.packets > MAX_PACKETS ||
|
||||
|
Loading…
Reference in New Issue
Block a user