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/libcrypto/man/BIO_f_null.3 | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/man/BIO_f_null.3') diff --git a/src/lib/libcrypto/man/BIO_f_null.3 b/src/lib/libcrypto/man/BIO_f_null.3 index 4944ced3a4..687d991b52 100644 --- a/src/lib/libcrypto/man/BIO_f_null.3 +++ b/src/lib/libcrypto/man/BIO_f_null.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: BIO_f_null.3,v 1.11 2022/12/23 16:59:39 schwarze Exp $ +.\" $OpenBSD: BIO_f_null.3,v 1.12 2023/04/11 16:58:43 schwarze Exp $ .\" full merge up to: OpenSSL e9b77246 Jan 20 19:58:49 2017 +0100 .\" .\" This file was written by Dr. Stephen Henson . @@ -48,7 +48,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED .\" OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: December 23 2022 $ +.Dd $Mdocdate: April 11 2023 $ .Dt BIO_F_NULL 3 .Os .Sh NAME @@ -80,6 +80,17 @@ and any attempt to do so fails and returns .Sh RETURN VALUES .Fn BIO_f_null returns the null filter BIO method. +.Pp +When called on a null filter BIO object, +.Xr BIO_method_type 3 +returns the constant +.Dv BIO_TYPE_NULL_FILTER +and +.Xr BIO_method_name 3 +returns a pointer to the static string +.Qq NULL filter , +not to be confused with a NUL string nor with a +.Dv NULL pointer . .Sh SEE ALSO .Xr BIO_new 3 .Sh HISTORY -- cgit v1.2.3-55-g6feb