summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2005-12-03 17:42:11 +0000
committerDr. Stephen Henson <steve@openssl.org>2005-12-03 17:42:11 +0000
commit0d894c9dbeb6cf6de46f618a1964f9bc1034d138 (patch)
tree07d2d9c0dfd2b1b5864ee43582edf42742aedfea
parentc6709b89c43f2ba084d347e42e14f3f66f8846bd (diff)
Make ZLIB without ZLIB_SHARED compiled again.
-rw-r--r--crypto/comp/c_zlib.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/comp/c_zlib.c b/crypto/comp/c_zlib.c
index e077aa5b91..1cd1a296af 100644
--- a/crypto/comp/c_zlib.c
+++ b/crypto/comp/c_zlib.c
@@ -406,8 +406,10 @@ COMP_METHOD *COMP_zlib(void)
}
#endif
-#if defined(ZLIB) || defined(ZLIB_SHARED)
+#ifdef ZLIB_SHARED
if (zlib_loaded)
+#endif
+#if defined(ZLIB) || defined(ZLIB_SHARED)
meth = &zlib_stateful_method;
#endif