Deprecate old style BIO callback calls
[openssl.git] / crypto / bio / bio_local.h
index 581b19c0c15fd043577f0d32d60f56772f546668..134ad748a1edf377c39c91835b292b3af4434a80 100644 (file)
@@ -116,7 +116,9 @@ struct bio_st {
     OSSL_LIB_CTX *libctx;
     const BIO_METHOD *method;
     /* bio, mode, argp, argi, argl, ret */
+#ifndef OPENSSL_NO_DEPRECATED_3_0
     BIO_callback_fn callback;
+#endif
     BIO_callback_fn_ex callback_ex;
     char *cb_arg;               /* first argument for the callback */
     int init;