diff options
Diffstat (limited to 'crypto/bio/bf_null.c')
-rw-r--r-- | crypto/bio/bf_null.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/bio/bf_null.c b/crypto/bio/bf_null.c index 1481445486..e3b87d24e5 100644 --- a/crypto/bio/bf_null.c +++ b/crypto/bio/bf_null.c @@ -72,7 +72,7 @@ static long nullf_ctrl(BIO *h, int cmd, long arg1, void *arg2); static int nullf_new(BIO *h); static int nullf_free(BIO *data); static long nullf_callback_ctrl(BIO *h, int cmd, bio_info_cb *fp); -static BIO_METHOD methods_nullf = { +static const BIO_METHOD methods_nullf = { BIO_TYPE_NULL_FILTER, "NULL filter", nullf_write, @@ -85,7 +85,7 @@ static BIO_METHOD methods_nullf = { nullf_callback_ctrl, }; -BIO_METHOD *BIO_f_null(void) +const BIO_METHOD *BIO_f_null(void) { return (&methods_nullf); } |