[openssh-commits] [openssh] branch master updated: upstream: test the right thing, doofus

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Dec 30 15:29:10 AEDT 2025


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

The following commit(s) were added to refs/heads/master by this push:
     new ea367b4bb upstream: test the right thing, doofus
ea367b4bb is described below

commit ea367b4bbc3fd49f84683763723425adfdce35c0
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Tue Dec 30 04:28:42 2025 +0000

    upstream: test the right thing, doofus
    
    OpenBSD-Commit-ID: 31b2ec6e0b3dbd08c60ba2d969dd687cd80c25fd
---
 packet.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/packet.c b/packet.c
index 3d47df758..05c2adfac 100644
--- a/packet.c
+++ b/packet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.c,v 1.330 2025/12/30 04:23:53 djm Exp $ */
+/* $OpenBSD: packet.c,v 1.331 2025/12/30 04:28:42 djm Exp $ */
 /*
  * Author: Tatu Ylonen <ylo at cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo at cs.hut.fi>, Espoo, Finland
@@ -1096,7 +1096,7 @@ ssh_packet_check_rekey_blocklimit(struct ssh *ssh, u_int packet_len, int hard)
 	    state->p_read.packets > MAX_PACKETS)
 		return 1;
 
-	if (state->newkeys == NULL)
+	if (state->newkeys[MODE_OUT] == NULL)
 		return 0;
 
 	/* Rekey after (cipher-specific) maximum blocks */

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list