From c43fe94c7ff45bf51a6a8867f10613de66776668 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Tue, 11 Apr 2023 16:58:43 +0000 Subject: Document the RETURN VALUES of BIO_method_type(3) and BIO_method_name(3) for the various BIO types. --- src/lib/libssl/man/BIO_f_ssl.3 | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/lib/libssl/man') diff --git a/src/lib/libssl/man/BIO_f_ssl.3 b/src/lib/libssl/man/BIO_f_ssl.3 index 7292e63f51..ed26816779 100644 --- a/src/lib/libssl/man/BIO_f_ssl.3 +++ b/src/lib/libssl/man/BIO_f_ssl.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: BIO_f_ssl.3,v 1.13 2022/12/18 20:24:52 schwarze Exp $ +.\" $OpenBSD: BIO_f_ssl.3,v 1.14 2023/04/11 16:58:43 schwarze Exp $ .\" full merge up to: OpenSSL f672aee4 Feb 9 11:52:40 2016 -0500 .\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800 .\" @@ -50,7 +50,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: December 18 2022 $ +.Dd $Mdocdate: April 11 2023 $ .Dt BIO_F_SSL 3 .Os .Sh NAME @@ -370,6 +370,15 @@ returns a pointer to a static .Vt BIO_METHOD structure. .Pp +When called on an SSL BIO object, +.Xr BIO_method_type 3 +returns the constant +.Dv BIO_TYPE_SSL +and +.Xr BIO_method_name 3 +returns a pointer to the static string +.Qq ssl . +.Pp .Fn BIO_set_ssl , .Fn BIO_get_ssl , .Fn BIO_set_ssl_mode , -- cgit v1.2.3-55-g6feb