summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bio_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bio/bio_lib.c')
-rw-r--r--src/lib/libcrypto/bio/bio_lib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bio/bio_lib.c b/src/lib/libcrypto/bio/bio_lib.c
index ddab542881..de039a7f5d 100644
--- a/src/lib/libcrypto/bio/bio_lib.c
+++ b/src/lib/libcrypto/bio/bio_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio_lib.c,v 1.27 2018/02/22 16:38:43 jsing Exp $ */ 1/* $OpenBSD: bio_lib.c,v 1.28 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 *
@@ -79,7 +79,7 @@ BIO_get_new_index(void)
79} 79}
80 80
81BIO * 81BIO *
82BIO_new(BIO_METHOD *method) 82BIO_new(const BIO_METHOD *method)
83{ 83{
84 BIO *ret = NULL; 84 BIO *ret = NULL;
85 85
@@ -96,7 +96,7 @@ BIO_new(BIO_METHOD *method)
96} 96}
97 97
98int 98int
99BIO_set(BIO *bio, BIO_METHOD *method) 99BIO_set(BIO *bio, const BIO_METHOD *method)
100{ 100{
101 bio->method = method; 101 bio->method = method;
102 bio->callback = NULL; 102 bio->callback = NULL;