summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bio/bio.h')
-rw-r--r--src/lib/libcrypto/bio/bio.h11
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);
605int BIO_set(BIO *a, const BIO_METHOD *type); 605int BIO_set(BIO *a, const BIO_METHOD *type);
606int BIO_free(BIO *a); 606int BIO_free(BIO *a);
607int BIO_up_ref(BIO *bio); 607int BIO_up_ref(BIO *bio);
608void *BIO_get_data(BIO *a); 608void *BIO_get_data(BIO *a);
609void BIO_set_data(BIO *a, void *ptr); 609void BIO_set_data(BIO *a, void *ptr);
610void BIO_set_init(BIO *a, int init); 610#if defined(LIBRESSL_NEW_API)
611int BIO_get_init(BIO *a);
612#endif
613void BIO_set_init(BIO *a, int init);
611int BIO_get_shutdown(BIO *a); 614int BIO_get_shutdown(BIO *a);
612void BIO_set_shutdown(BIO *a, int shut); 615void BIO_set_shutdown(BIO *a, int shut);
613void BIO_vfree(BIO *a); 616void BIO_vfree(BIO *a);