diff options
Diffstat (limited to 'src/lib/libcrypto/bio/bss_null.c')
| -rw-r--r-- | src/lib/libcrypto/bio/bss_null.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bio/bss_null.c b/src/lib/libcrypto/bio/bss_null.c index 42ee626b13..c6de844da5 100644 --- a/src/lib/libcrypto/bio/bss_null.c +++ b/src/lib/libcrypto/bio/bss_null.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bss_null.c,v 1.10 2014/07/11 08:44:47 jsing Exp $ */ | 1 | /* $OpenBSD: bss_null.c,v 1.11 2018/05/01 13:29:10 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 | * |
| @@ -70,7 +70,7 @@ static long null_ctrl(BIO *h, int cmd, long arg1, void *arg2); | |||
| 70 | static int null_new(BIO *h); | 70 | static int null_new(BIO *h); |
| 71 | static int null_free(BIO *data); | 71 | static int null_free(BIO *data); |
| 72 | 72 | ||
| 73 | static BIO_METHOD null_method = { | 73 | static const BIO_METHOD null_method = { |
| 74 | .type = BIO_TYPE_NULL, | 74 | .type = BIO_TYPE_NULL, |
| 75 | .name = "NULL", | 75 | .name = "NULL", |
| 76 | .bwrite = null_write, | 76 | .bwrite = null_write, |
| @@ -82,7 +82,7 @@ static BIO_METHOD null_method = { | |||
| 82 | .destroy = null_free | 82 | .destroy = null_free |
| 83 | }; | 83 | }; |
| 84 | 84 | ||
| 85 | BIO_METHOD * | 85 | const BIO_METHOD * |
| 86 | BIO_s_null(void) | 86 | BIO_s_null(void) |
| 87 | { | 87 | { |
| 88 | return (&null_method); | 88 | return (&null_method); |
