From: Doug MacEachern Date: Thu, 17 Jan 2002 01:35:20 +0000 (+0000) Subject: adjust BIO_METHOD initializers for sslc X-Git-Tag: 2.0.31~180 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae33d7594fd0f794b28ab9ec3c86437a9535ac7e;p=apache adjust BIO_METHOD initializers for sslc git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92881 13f79535-47bb-0310-9956-ffa450edef68 --- 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)