]> granicus.if.org Git - apache/commitdiff
adjust BIO_METHOD initializers for sslc
authorDoug MacEachern <dougm@apache.org>
Thu, 17 Jan 2002 01:35:20 +0000 (01:35 +0000)
committerDoug MacEachern <dougm@apache.org>
Thu, 17 Jan 2002 01:35:20 +0000 (01:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92881 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_io.c

index d0c3af3abfb1650858ffea4b951f90377ca5e130..5bc9cabdf3e5bd9f24b953e7f0a04ad41d7d2a4c 100644 (file)
@@ -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)