From d692c27f466b0683d4f7dd5f72058e64e04f0cd4 Mon Sep 17 00:00:00 2001 From: mmcc <> Date: Sat, 12 Mar 2016 21:31:22 +0000 Subject: Remove sentences in RETURN VALUES sections saying that functions with void return types 'return no value'. This is obvious and therefore unneccessary to mention. We spare rewind(3)'s sentence because espie@ pointed out that it's a warning - the function masks a potential error. This commit also adds a sentence to X509_free clarifying that it's NULL-safe. This bit was discussed with doug@. ok martijn@, sentiment supported by schwarze@ --- src/lib/libcrypto/man/ASN1_OBJECT_new.3 | 5 +---- src/lib/libcrypto/man/BUF_MEM_new.3 | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'src/lib/libcrypto/man') diff --git a/src/lib/libcrypto/man/ASN1_OBJECT_new.3 b/src/lib/libcrypto/man/ASN1_OBJECT_new.3 index 5b81b2bded..526e1d869b 100644 --- a/src/lib/libcrypto/man/ASN1_OBJECT_new.3 +++ b/src/lib/libcrypto/man/ASN1_OBJECT_new.3 @@ -1,4 +1,4 @@ -.Dd $Mdocdate: September 9 2015 $ +.Dd $Mdocdate: March 12 2016 $ .Dt ASN1_OBJECT_NEW 3 .Os .Sh NAME @@ -47,9 +47,6 @@ returns and sets an error code that can be obtained by .Xr ERR_get_error 3 . Otherwise it returns a pointer to the newly allocated structure. -.Pp -.Fn ASN1_OBJECT_free -returns no value. .Sh SEE ALSO .Xr d2i_ASN1_OBJECT 3 , .Xr ERR_get_error 3 , diff --git a/src/lib/libcrypto/man/BUF_MEM_new.3 b/src/lib/libcrypto/man/BUF_MEM_new.3 index f87e4f8257..10258b7aaf 100644 --- a/src/lib/libcrypto/man/BUF_MEM_new.3 +++ b/src/lib/libcrypto/man/BUF_MEM_new.3 @@ -1,4 +1,4 @@ -.Dd $Mdocdate: September 22 2015 $ +.Dd $Mdocdate: March 12 2016 $ .Dt BUF_MEM_NEW 3 .Os .Sh NAME @@ -89,9 +89,6 @@ returns the buffer or .Dv NULL on error. .Pp -.Fn BUF_MEM_free -returns no value. -.Pp .Fn BUF_MEM_grow returns zero on error or the new size (i.e. .Fa len Ns ). -- cgit v1.2.3-55-g6feb