From 2a8648ffbfa3e94c6bae93a14e228dfc01d1baf9 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/modules/ssl@92881 13f79535-47bb-0310-9956-ffa450edef68 --- ssl_engine_io.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ssl_engine_io.c b/ssl_engine_io.c index d0c3af3abfb..5bc9cabdf3e 100644 --- a/ssl_engine_io.c +++ b/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.47.2