summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--compress.c5
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5dac860fa..32f82369d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -43,6 +43,12 @@
43 - djm@cvs.openbsd.org 2010/09/08 03:54:36 43 - djm@cvs.openbsd.org 2010/09/08 03:54:36
44 [authfile.c] 44 [authfile.c]
45 typo 45 typo
46 - deraadt@cvs.openbsd.org 2010/09/08 04:13:31
47 [compress.c]
48 work around name-space collisions some buggy compilers (looking at you
49 gcc, at least in earlier versions, but this does not forgive your current
50 transgressions) seen between zlib and openssl
51 ok djm
46 52
4720100831 5320100831
48 - OpenBSD CVS Sync 54 - OpenBSD CVS Sync
diff --git a/compress.c b/compress.c
index c058d2224..24778e524 100644
--- a/compress.c
+++ b/compress.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: compress.c,v 1.25 2006/08/06 01:13:32 stevesk Exp $ */ 1/* $OpenBSD: compress.c,v 1.26 2010/09/08 04:13:31 deraadt Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -17,12 +17,13 @@
17#include <sys/types.h> 17#include <sys/types.h>
18 18
19#include <stdarg.h> 19#include <stdarg.h>
20#include <zlib.h>
21 20
22#include "log.h" 21#include "log.h"
23#include "buffer.h" 22#include "buffer.h"
24#include "compress.h" 23#include "compress.h"
25 24
25#include <zlib.h>
26
26z_stream incoming_stream; 27z_stream incoming_stream;
27z_stream outgoing_stream; 28z_stream outgoing_stream;
28static int compress_init_send_called = 0; 29static int compress_init_send_called = 0;