summaryrefslogtreecommitdiffstats
path: root/crypto/comp/c_zlib.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2005-12-03 18:42:11 +0100
committerDr. Stephen Henson <steve@openssl.org>2005-12-03 18:42:11 +0100
commit0d894c9dbeb6cf6de46f618a1964f9bc1034d138 (patch)
tree07d2d9c0dfd2b1b5864ee43582edf42742aedfea /crypto/comp/c_zlib.c
parentCouple other benchmark comparisons for wp-x86_64.pl. (diff)
downloadopenssl-0d894c9dbeb6cf6de46f618a1964f9bc1034d138.tar.xz
openssl-0d894c9dbeb6cf6de46f618a1964f9bc1034d138.zip
Make ZLIB without ZLIB_SHARED compiled again.
Diffstat (limited to 'crypto/comp/c_zlib.c')
-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