summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man
diff options
context:
space:
mode:
authormmcc <>2016-03-12 21:31:22 +0000
committermmcc <>2016-03-12 21:31:22 +0000
commitd692c27f466b0683d4f7dd5f72058e64e04f0cd4 (patch)
tree41d48a54c09f49f4e37617cd4f79d217bf4250a8 /src/lib/libcrypto/man
parentb5aa7e790e535fc940826232ac1bf67aeb800cb0 (diff)
downloadopenbsd-d692c27f466b0683d4f7dd5f72058e64e04f0cd4.tar.gz
openbsd-d692c27f466b0683d4f7dd5f72058e64e04f0cd4.tar.bz2
openbsd-d692c27f466b0683d4f7dd5f72058e64e04f0cd4.zip
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@
Diffstat (limited to 'src/lib/libcrypto/man')
-rw-r--r--src/lib/libcrypto/man/ASN1_OBJECT_new.35
-rw-r--r--src/lib/libcrypto/man/BUF_MEM_new.35
2 files changed, 2 insertions, 8 deletions
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 @@
1.Dd $Mdocdate: September 9 2015 $ 1.Dd $Mdocdate: March 12 2016 $
2.Dt ASN1_OBJECT_NEW 3 2.Dt ASN1_OBJECT_NEW 3
3.Os 3.Os
4.Sh NAME 4.Sh NAME
@@ -47,9 +47,6 @@ returns
47and sets an error code that can be obtained by 47and sets an error code that can be obtained by
48.Xr ERR_get_error 3 . 48.Xr ERR_get_error 3 .
49Otherwise it returns a pointer to the newly allocated structure. 49Otherwise it returns a pointer to the newly allocated structure.
50.Pp
51.Fn ASN1_OBJECT_free
52returns no value.
53.Sh SEE ALSO 50.Sh SEE ALSO
54.Xr d2i_ASN1_OBJECT 3 , 51.Xr d2i_ASN1_OBJECT 3 ,
55.Xr ERR_get_error 3 , 52.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 @@
1.Dd $Mdocdate: September 22 2015 $ 1.Dd $Mdocdate: March 12 2016 $
2.Dt BUF_MEM_NEW 3 2.Dt BUF_MEM_NEW 3
3.Os 3.Os
4.Sh NAME 4.Sh NAME
@@ -89,9 +89,6 @@ returns the buffer or
89.Dv NULL 89.Dv NULL
90on error. 90on error.
91.Pp 91.Pp
92.Fn BUF_MEM_free
93returns no value.
94.Pp
95.Fn BUF_MEM_grow 92.Fn BUF_MEM_grow
96returns zero on error or the new size (i.e. 93returns zero on error or the new size (i.e.
97.Fa len Ns ). 94.Fa len Ns ).