[packet.c]
     missing packet_init_compression(); from solar
This commit is contained in:
Damien Miller 2005-08-12 22:10:28 +10:00
parent 73f671a090
commit b5c012577e
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
20050812
- (djm) OpenBSD CVS Sync
- markus@cvs.openbsd.org 2005/07/28 17:36:22
[packet.c]
missing packet_init_compression(); from solar
20050810
- (dtucker) [configure.ac] Test libedit library and headers for compatibility.
Report from skeleten AT shillest.net, ok djm@
@ -2907,4 +2913,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.3865 2005/08/10 11:52:36 dtucker Exp $
$Id: ChangeLog,v 1.3866 2005/08/12 12:10:28 djm Exp $

View File

@ -37,7 +37,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: packet.c,v 1.118 2005/07/25 11:59:39 markus Exp $");
RCSID("$OpenBSD: packet.c,v 1.119 2005/07/28 17:36:22 markus Exp $");
#include "openbsd-compat/sys-queue.h"
@ -671,6 +671,7 @@ packet_enable_delayed_compress(void)
for (mode = 0; mode < MODE_MAX; mode++) {
comp = &newkeys[mode]->comp;
if (comp && !comp->enabled && comp->type == COMP_DELAYED) {
packet_init_compression();
if (mode == MODE_OUT)
buffer_compress_init_send(6);
else