diff options
Diffstat (limited to 'src/lib/libcrypto/bio/bss_bio.c')
-rw-r--r-- | src/lib/libcrypto/bio/bss_bio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bio/bss_bio.c b/src/lib/libcrypto/bio/bss_bio.c index 20eb9a9829..74f86a51ee 100644 --- a/src/lib/libcrypto/bio/bss_bio.c +++ b/src/lib/libcrypto/bio/bss_bio.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bss_bio.c,v 1.23 2017/01/29 17:49:22 beck Exp $ */ | 1 | /* $OpenBSD: bss_bio.c,v 1.24 2018/05/01 13:29:09 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1998-2003 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2003 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -94,7 +94,7 @@ static int bio_puts(BIO *bio, const char *str); | |||
94 | static int bio_make_pair(BIO *bio1, BIO *bio2); | 94 | static int bio_make_pair(BIO *bio1, BIO *bio2); |
95 | static void bio_destroy_pair(BIO *bio); | 95 | static void bio_destroy_pair(BIO *bio); |
96 | 96 | ||
97 | static BIO_METHOD methods_biop = { | 97 | static const BIO_METHOD methods_biop = { |
98 | .type = BIO_TYPE_BIO, | 98 | .type = BIO_TYPE_BIO, |
99 | .name = "BIO pair", | 99 | .name = "BIO pair", |
100 | .bwrite = bio_write, | 100 | .bwrite = bio_write, |
@@ -105,7 +105,7 @@ static BIO_METHOD methods_biop = { | |||
105 | .destroy = bio_free | 105 | .destroy = bio_free |
106 | }; | 106 | }; |
107 | 107 | ||
108 | BIO_METHOD * | 108 | const BIO_METHOD * |
109 | BIO_s_bio(void) | 109 | BIO_s_bio(void) |
110 | { | 110 | { |
111 | return &methods_biop; | 111 | return &methods_biop; |