From: schwarze Date: Fri, 25 Nov 2022 17:44:01 +0000 (+0000) Subject: In bio.h rev. 1.46/1.47 (Oct/Nov 2021), tb@ provided BIO_get_init(3). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=56fb8cd2a34cc61338e6466cb05b73e66567003d;p=openbsd In bio.h rev. 1.46/1.47 (Oct/Nov 2021), tb@ provided BIO_get_init(3). Document it. --- 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 .