diff options
Diffstat (limited to 'src/lib/libcrypto/bio/bf_nbio.c')
-rw-r--r-- | src/lib/libcrypto/bio/bf_nbio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bio/bf_nbio.c b/src/lib/libcrypto/bio/bf_nbio.c index 24e2e7e8b9..05fa9161fb 100644 --- a/src/lib/libcrypto/bio/bf_nbio.c +++ b/src/lib/libcrypto/bio/bf_nbio.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bf_nbio.c,v 1.19 2015/02/07 13:19:15 doug Exp $ */ | 1 | /* $OpenBSD: bf_nbio.c,v 1.20 2018/05/01 13:29:09 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -80,7 +80,7 @@ typedef struct nbio_test_st { | |||
80 | int lwn; | 80 | int lwn; |
81 | } NBIO_TEST; | 81 | } NBIO_TEST; |
82 | 82 | ||
83 | static BIO_METHOD methods_nbiof = { | 83 | static const BIO_METHOD methods_nbiof = { |
84 | .type = BIO_TYPE_NBIO_TEST, | 84 | .type = BIO_TYPE_NBIO_TEST, |
85 | .name = "non-blocking IO test filter", | 85 | .name = "non-blocking IO test filter", |
86 | .bwrite = nbiof_write, | 86 | .bwrite = nbiof_write, |
@@ -93,7 +93,7 @@ static BIO_METHOD methods_nbiof = { | |||
93 | .callback_ctrl = nbiof_callback_ctrl | 93 | .callback_ctrl = nbiof_callback_ctrl |
94 | }; | 94 | }; |
95 | 95 | ||
96 | BIO_METHOD * | 96 | const BIO_METHOD * |
97 | BIO_f_nbio_test(void) | 97 | BIO_f_nbio_test(void) |
98 | { | 98 | { |
99 | return (&methods_nbiof); | 99 | return (&methods_nbiof); |