static long null_ctrl(BIO *h, int cmd, long arg1, void *arg2);
static int null_new(BIO *h);
static int null_free(BIO *data);
-static BIO_METHOD null_method = {
+static const BIO_METHOD null_method = {
BIO_TYPE_NULL,
"NULL",
null_write,
NULL,
};
-BIO_METHOD *BIO_s_null(void)
+const BIO_METHOD *BIO_s_null(void)
{
return (&null_method);
}