From ae33d7594fd0f794b28ab9ec3c86437a9535ac7e Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Thu, 17 Jan 2002 01:35:20 +0000 Subject: [PATCH] adjust BIO_METHOD initializers for sslc git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92881 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ssl/ssl_engine_io.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/ssl/ssl_engine_io.c b/modules/ssl/ssl_engine_io.c index d0c3af3abf..5bc9cabdf3 100644 --- a/modules/ssl/ssl_engine_io.c +++ b/modules/ssl/ssl_engine_io.c @@ -276,7 +276,9 @@ static BIO_METHOD bio_bucket_method = { bio_bucket_ctrl, bio_bucket_new, bio_bucket_free, - NULL, +#ifdef OPENSSL_VERSION_NUMBER + NULL /* sslc does not have the callback_ctrl field */ +#endif }; static BIO_METHOD *BIO_s_bucket(void) @@ -442,7 +444,9 @@ static BIO_METHOD bio_bucket_in_method = { NULL, /* ctrl is never called */ bio_bucket_new, bio_bucket_free, - NULL, +#ifdef OPENSSL_VERSION_NUMBER + NULL /* sslc does not have the callback_ctrl field */ +#endif }; static BIO_METHOD *BIO_s_in_bucket(void) -- 2.50.1