summaryrefslogtreecommitdiffstats
path: root/crypto/comp
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2017-12-15 19:33:48 +0100
committerBernd Edlinger <bernd.edlinger@hotmail.de>2017-12-15 19:33:48 +0100
commitfce78bd4ede74d4fa7bd1c8195d8f7bc9403bd4c (patch)
tree47178f4d920c5fc4af3c91ee8c20ec6b8312cf96 /crypto/comp
parentRemove test-runs dir, adjust .gitignore (diff)
downloadopenssl-fce78bd4ede74d4fa7bd1c8195d8f7bc9403bd4c.tar.xz
openssl-fce78bd4ede74d4fa7bd1c8195d8f7bc9403bd4c.zip
Fix invalid function type casts.
Rename bio_info_cb to BIO_info_cb. Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4493)
Diffstat (limited to 'crypto/comp')
-rw-r--r--crypto/comp/c_zlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/comp/c_zlib.c b/crypto/comp/c_zlib.c
index 05787aa394..5d82e15979 100644
--- a/crypto/comp/c_zlib.c
+++ b/crypto/comp/c_zlib.c
@@ -291,7 +291,7 @@ static int bio_zlib_free(BIO *bi);
static int bio_zlib_read(BIO *b, char *out, int outl);
static int bio_zlib_write(BIO *b, const char *in, int inl);
static long bio_zlib_ctrl(BIO *b, int cmd, long num, void *ptr);
-static long bio_zlib_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp);
+static long bio_zlib_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp);
static const BIO_METHOD bio_meth_zlib = {
BIO_TYPE_COMP,
@@ -607,7 +607,7 @@ static long bio_zlib_ctrl(BIO *b, int cmd, long num, void *ptr)
return ret;
}
-static long bio_zlib_callback_ctrl(BIO *b, int cmd, bio_info_cb *fp)
+static long bio_zlib_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp)
{
BIO *next = BIO_next(b);
if (next == NULL)