summaryrefslogtreecommitdiffstats
path: root/src/kex.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-09-17 22:47:56 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-09-18 21:37:18 +0200
commitdc42a1757fdbbf5b0ffd877649b6cf08b1385420 (patch)
tree7203b92aa25af19d4be5228f859ea0d416d4baa2 /src/kex.c
parent7202a26b6ce9dc30a3764ce177337051d5136bcf (diff)
downloadlibssh-dc42a1757fdbbf5b0ffd877649b6cf08b1385420.tar.gz
libssh-dc42a1757fdbbf5b0ffd877649b6cf08b1385420.tar.xz
libssh-dc42a1757fdbbf5b0ffd877649b6cf08b1385420.zip
gzip: Fix zlib support.
Diffstat (limited to 'src/kex.c')
-rw-r--r--src/kex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kex.c b/src/kex.c
index 92c4777..438f398 100644
--- a/src/kex.c
+++ b/src/kex.c
@@ -58,7 +58,7 @@
#define DES "3des-cbc"
#endif
-#if defined(HAVE_LIBZ) && defined(WITH_LIBZ)
+#ifdef WITH_LIBZ
#define ZLIB "none,zlib,zlib@openssh.com"
#else
#define ZLIB "none"