diff options
Diffstat (limited to 'src/lib/libcrypto/bio/bio.h')
-rw-r--r-- | src/lib/libcrypto/bio/bio.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h index 82463c6beb..735d16e6b9 100644 --- a/src/lib/libcrypto/bio/bio.h +++ b/src/lib/libcrypto/bio/bio.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bio.h,v 1.45 2018/06/02 04:41:12 tb Exp $ */ | 1 | /* $OpenBSD: bio.h,v 1.46 2021/10/24 13:46:56 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 | * |
@@ -605,9 +605,12 @@ BIO *BIO_new(const BIO_METHOD *type); | |||
605 | int BIO_set(BIO *a, const BIO_METHOD *type); | 605 | int BIO_set(BIO *a, const BIO_METHOD *type); |
606 | int BIO_free(BIO *a); | 606 | int BIO_free(BIO *a); |
607 | int BIO_up_ref(BIO *bio); | 607 | int BIO_up_ref(BIO *bio); |
608 | void *BIO_get_data(BIO *a); | 608 | void *BIO_get_data(BIO *a); |
609 | void BIO_set_data(BIO *a, void *ptr); | 609 | void BIO_set_data(BIO *a, void *ptr); |
610 | void BIO_set_init(BIO *a, int init); | 610 | #if defined(LIBRESSL_NEW_API) |
611 | int BIO_get_init(BIO *a); | ||
612 | #endif | ||
613 | void BIO_set_init(BIO *a, int init); | ||
611 | int BIO_get_shutdown(BIO *a); | 614 | int BIO_get_shutdown(BIO *a); |
612 | void BIO_set_shutdown(BIO *a, int shut); | 615 | void BIO_set_shutdown(BIO *a, int shut); |
613 | void BIO_vfree(BIO *a); | 616 | void BIO_vfree(BIO *a); |