=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/packet.c,v retrieving revision 1.304 retrieving revision 1.305 diff -u -r1.304 -r1.305 --- src/usr.bin/ssh/packet.c 2022/01/01 01:55:30 1.304 +++ src/usr.bin/ssh/packet.c 2022/01/17 22:56:04 1.305 @@ -1,4 +1,4 @@ -/* $OpenBSD: packet.c,v 1.304 2022/01/01 01:55:30 jsg Exp $ */ +/* $OpenBSD: packet.c,v 1.305 2022/01/17 22:56:04 djm Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -774,7 +774,7 @@ ssh->state->compression_in_stream.avail_out = sizeof(buf); status = inflate(&ssh->state->compression_in_stream, - Z_PARTIAL_FLUSH); + Z_SYNC_FLUSH); switch (status) { case Z_OK: if ((r = sshbuf_put(out, buf, sizeof(buf) -