Fix zlib BIO_METHOD for latest BIO_METHOD structure changes
authorMatt Caswell <matt@openssl.org>
Tue, 8 Nov 2016 13:52:30 +0000 (13:52 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 8 Nov 2016 13:58:10 +0000 (13:58 +0000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/comp/c_zlib.c

index 2f38c2e..f0197b8 100644 (file)
@@ -297,7 +297,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,
     NULL,