summaryrefslogtreecommitdiff
path: root/deps/openssl/openssl/crypto/comp/c_zlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'deps/openssl/openssl/crypto/comp/c_zlib.c')
-rw-r--r--deps/openssl/openssl/crypto/comp/c_zlib.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/deps/openssl/openssl/crypto/comp/c_zlib.c b/deps/openssl/openssl/crypto/comp/c_zlib.c
index 821dc099bb..d688deee5f 100644
--- a/deps/openssl/openssl/crypto/comp/c_zlib.c
+++ b/deps/openssl/openssl/crypto/comp/c_zlib.c
@@ -256,14 +256,13 @@ COMP_METHOD *COMP_zlib(void)
meth = &zlib_stateful_method;
#endif
- return (meth);
+ return meth;
}
void comp_zlib_cleanup_int(void)
{
#ifdef ZLIB_SHARED
- if (zlib_dso != NULL)
- DSO_free(zlib_dso);
+ DSO_free(zlib_dso);
zlib_dso = NULL;
#endif
}
@@ -297,7 +296,11 @@ static long bio_zlib_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp);
static const BIO_METHOD bio_meth_zlib = {
BIO_TYPE_COMP,
"zlib",
+ /* TODO: Convert to new style write function */
+ bwrite_conv,
bio_zlib_write,
+ /* TODO: Convert to new style read function */
+ bread_conv,
bio_zlib_read,
NULL, /* bio_zlib_puts, */
NULL, /* bio_zlib_gets, */