diff options
| author | tb <> | 2018-05-01 13:29:10 +0000 |
|---|---|---|
| committer | tb <> | 2018-05-01 13:29:10 +0000 |
| commit | 0348b99054499311191f1db880064066ce1c64b2 (patch) | |
| tree | 7876885f1d21e5b53f5a28cdd2d502808082a4fc /src/lib/libcrypto/bio/bio_lib.c | |
| parent | a8b69163d3bb4f0d18483bcbdec0f92c676330df (diff) | |
| download | openbsd-0348b99054499311191f1db880064066ce1c64b2.tar.gz openbsd-0348b99054499311191f1db880064066ce1c64b2.tar.bz2 openbsd-0348b99054499311191f1db880064066ce1c64b2.zip | |
const for BIO_{new,set}() and most of the BIO_{f,s}_*() family of
functions.
ok beck, jsing
Diffstat (limited to 'src/lib/libcrypto/bio/bio_lib.c')
| -rw-r--r-- | src/lib/libcrypto/bio/bio_lib.c | 6 |
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 | ||
| 81 | BIO * | 81 | BIO * |
| 82 | BIO_new(BIO_METHOD *method) | 82 | BIO_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 | ||
| 98 | int | 98 | int |
| 99 | BIO_set(BIO *bio, BIO_METHOD *method) | 99 | BIO_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; |
