summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bss_bio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bio/bss_bio.c')
-rw-r--r--src/lib/libcrypto/bio/bss_bio.c6
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);
94static int bio_make_pair(BIO *bio1, BIO *bio2); 94static int bio_make_pair(BIO *bio1, BIO *bio2);
95static void bio_destroy_pair(BIO *bio); 95static void bio_destroy_pair(BIO *bio);
96 96
97static BIO_METHOD methods_biop = { 97static 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
108BIO_METHOD * 108const BIO_METHOD *
109BIO_s_bio(void) 109BIO_s_bio(void)
110{ 110{
111 return &methods_biop; 111 return &methods_biop;