diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2022-11-25 17:44:02 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2022-11-25 17:44:02 +0000 |
commit | 7515d31fcdce1cdbe1b89e781ca44681a109c257 (patch) | |
tree | e91dfa09f93a1d2c46c5af29e830a30c2c67fba4 /lib/libcrypto | |
parent | 4c69037183301efb80eb23240e755d83dea74324 (diff) |
In bio.h rev. 1.46/1.47 (Oct/Nov 2021), tb@ provided BIO_get_init(3).
Document it.
Diffstat (limited to 'lib/libcrypto')
-rw-r--r-- | lib/libcrypto/man/BIO_get_data.3 | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/lib/libcrypto/man/BIO_get_data.3 b/lib/libcrypto/man/BIO_get_data.3 index 70944255e44..3f740c1fe68 100644 --- a/lib/libcrypto/man/BIO_get_data.3 +++ b/lib/libcrypto/man/BIO_get_data.3 @@ -1,5 +1,5 @@ -.\" $OpenBSD: BIO_get_data.3,v 1.3 2018/03/23 23:18:17 schwarze Exp $ -.\" selective merge up to: OpenSSL e90fc053 Jul 15 09:39:45 2017 -0400 +.\" $OpenBSD: BIO_get_data.3,v 1.4 2022/11/25 17:44:01 schwarze Exp $ +.\" full merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100 .\" .\" This file is a derived work. .\" The changes are covered by the following Copyright and license: @@ -65,13 +65,14 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 23 2018 $ +.Dd $Mdocdate: November 25 2022 $ .Dt BIO_GET_DATA 3 .Os .Sh NAME .Nm BIO_set_data , .Nm BIO_get_data , .Nm BIO_set_init , +.Nm BIO_get_init , .Nm BIO_set_shutdown , .Nm BIO_get_shutdown .Nd manage BIO state information @@ -91,6 +92,10 @@ .Fa "BIO *a" .Fa "int init" .Fc +.Ft int +.Fo BIO_get_init +.Fa "BIO *a" +.Fc .Ft void .Fo BIO_set_shutdown .Fa "BIO *a" @@ -161,6 +166,10 @@ or .Dv NULL if none is set. .Pp +.Fn BIO_get_init +returns the value of the init flag of +.Fa a . +.Pp .Fn BIO_get_shutdown returns the value previously set with .Fn BIO_set_shutdown @@ -171,6 +180,15 @@ or with .Xr BIO_new 3 , .Xr BIO_set_close 3 .Sh HISTORY -These functions first appeared in OpenSSL 1.1.0 -and have been available since +.Fn BIO_set_data , +.Fn BIO_get_data , +.Fn BIO_set_init , +.Fn BIO_set_shutdown , +and +.Fn BIO_get_shutdown +first appeared in OpenSSL 1.1.0 and have been available since .Ox 6.3 . +.Pp +.Fn BIO_get_init +first appeared in OpenSSL 1.1.0 and has been available since +.Ox 7.1 . |