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 2f38c2e94cef63d0dee1fd741efbebe49215cf85..f0197b8bab4a7757d2bc95329ab1cea5a35d581a 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,