summaryrefslogtreecommitdiffstats
path: root/crypto/bio/bf_nbio.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/bio/bf_nbio.c')
-rw-r--r--crypto/bio/bf_nbio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/bio/bf_nbio.c b/crypto/bio/bf_nbio.c
index e78bca5059..c8bf580e1d 100644
--- a/crypto/bio/bf_nbio.c
+++ b/crypto/bio/bf_nbio.c
@@ -79,7 +79,7 @@ typedef struct nbio_test_st {
int lwn;
} NBIO_TEST;
-static BIO_METHOD methods_nbiof = {
+static const BIO_METHOD methods_nbiof = {
BIO_TYPE_NBIO_TEST,
"non-blocking IO test filter",
nbiof_write,
@@ -92,7 +92,7 @@ static BIO_METHOD methods_nbiof = {
nbiof_callback_ctrl,
};
-BIO_METHOD *BIO_f_nbio_test(void)
+const BIO_METHOD *BIO_f_nbio_test(void)
{
return (&methods_nbiof);
}