Make ZLIB without ZLIB_SHARED compiled again.
authorDr. Stephen Henson <steve@openssl.org>
Sat, 3 Dec 2005 17:42:11 +0000 (17:42 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 3 Dec 2005 17:42:11 +0000 (17:42 +0000)
crypto/comp/c_zlib.c

index e077aa5b9142de0227afce23400ae4f9962e7159..1cd1a296af6bc2d324058523f1d53fb8b28aedfd 100644 (file)
@@ -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