summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschwarze <>2022-11-25 17:44:01 +0000
committerschwarze <>2022-11-25 17:44:01 +0000
commitbe1d096c4bcfbf4c1c132e9a3bb708c7bb040d81 (patch)
tree01e9d42f6ba78fe2c60acbaa9623d5bec59e18c8
parent293cb6411ec61e6e24ce15bf9085af4cbcfddb29 (diff)
downloadopenbsd-be1d096c4bcfbf4c1c132e9a3bb708c7bb040d81.tar.gz
openbsd-be1d096c4bcfbf4c1c132e9a3bb708c7bb040d81.tar.bz2
openbsd-be1d096c4bcfbf4c1c132e9a3bb708c7bb040d81.zip
In bio.h rev. 1.46/1.47 (Oct/Nov 2021), tb@ provided BIO_get_init(3).
Document it.
-rw-r--r--src/lib/libcrypto/man/BIO_get_data.328
1 files changed, 23 insertions, 5 deletions
diff --git a/src/lib/libcrypto/man/BIO_get_data.3 b/src/lib/libcrypto/man/BIO_get_data.3
index 70944255e4..3f740c1fe6 100644
--- a/src/lib/libcrypto/man/BIO_get_data.3
+++ b/src/lib/libcrypto/man/BIO_get_data.3
@@ -1,5 +1,5 @@
1.\" $OpenBSD: BIO_get_data.3,v 1.3 2018/03/23 23:18:17 schwarze Exp $ 1.\" $OpenBSD: BIO_get_data.3,v 1.4 2022/11/25 17:44:01 schwarze Exp $
2.\" selective merge up to: OpenSSL e90fc053 Jul 15 09:39:45 2017 -0400 2.\" full merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100
3.\" 3.\"
4.\" This file is a derived work. 4.\" This file is a derived work.
5.\" The changes are covered by the following Copyright and license: 5.\" The changes are covered by the following Copyright and license:
@@ -65,13 +65,14 @@
65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
66.\" OF THE POSSIBILITY OF SUCH DAMAGE. 66.\" OF THE POSSIBILITY OF SUCH DAMAGE.
67.\" 67.\"
68.Dd $Mdocdate: March 23 2018 $ 68.Dd $Mdocdate: November 25 2022 $
69.Dt BIO_GET_DATA 3 69.Dt BIO_GET_DATA 3
70.Os 70.Os
71.Sh NAME 71.Sh NAME
72.Nm BIO_set_data , 72.Nm BIO_set_data ,
73.Nm BIO_get_data , 73.Nm BIO_get_data ,
74.Nm BIO_set_init , 74.Nm BIO_set_init ,
75.Nm BIO_get_init ,
75.Nm BIO_set_shutdown , 76.Nm BIO_set_shutdown ,
76.Nm BIO_get_shutdown 77.Nm BIO_get_shutdown
77.Nd manage BIO state information 78.Nd manage BIO state information
@@ -91,6 +92,10 @@
91.Fa "BIO *a" 92.Fa "BIO *a"
92.Fa "int init" 93.Fa "int init"
93.Fc 94.Fc
95.Ft int
96.Fo BIO_get_init
97.Fa "BIO *a"
98.Fc
94.Ft void 99.Ft void
95.Fo BIO_set_shutdown 100.Fo BIO_set_shutdown
96.Fa "BIO *a" 101.Fa "BIO *a"
@@ -161,6 +166,10 @@ or
161.Dv NULL 166.Dv NULL
162if none is set. 167if none is set.
163.Pp 168.Pp
169.Fn BIO_get_init
170returns the value of the init flag of
171.Fa a .
172.Pp
164.Fn BIO_get_shutdown 173.Fn BIO_get_shutdown
165returns the value previously set with 174returns the value previously set with
166.Fn BIO_set_shutdown 175.Fn BIO_set_shutdown
@@ -171,6 +180,15 @@ or with
171.Xr BIO_new 3 , 180.Xr BIO_new 3 ,
172.Xr BIO_set_close 3 181.Xr BIO_set_close 3
173.Sh HISTORY 182.Sh HISTORY
174These functions first appeared in OpenSSL 1.1.0 183.Fn BIO_set_data ,
175and have been available since 184.Fn BIO_get_data ,
185.Fn BIO_set_init ,
186.Fn BIO_set_shutdown ,
187and
188.Fn BIO_get_shutdown
189first appeared in OpenSSL 1.1.0 and have been available since
176.Ox 6.3 . 190.Ox 6.3 .
191.Pp
192.Fn BIO_get_init
193first appeared in OpenSSL 1.1.0 and has been available since
194.Ox 7.1 .