summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormmcc <>2016-03-12 21:31:22 +0000
committermmcc <>2016-03-12 21:31:22 +0000
commitd692c27f466b0683d4f7dd5f72058e64e04f0cd4 (patch)
tree41d48a54c09f49f4e37617cd4f79d217bf4250a8
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@
-rw-r--r--src/lib/libc/stdlib/hcreate.39
-rw-r--r--src/lib/libc/stdlib/malloc.38
-rw-r--r--src/lib/libc/stdlib/qsort.38
-rw-r--r--src/lib/libc/stdlib/tsearch.38
-rw-r--r--src/lib/libcrypto/doc/DH_new.pod2
-rw-r--r--src/lib/libcrypto/doc/DH_set_method.pod2
-rw-r--r--src/lib/libcrypto/doc/DSA_SIG_new.pod2
-rw-r--r--src/lib/libcrypto/doc/DSA_new.pod2
-rw-r--r--src/lib/libcrypto/doc/DSA_set_method.pod2
-rw-r--r--src/lib/libcrypto/doc/ERR_load_strings.pod2
-rw-r--r--src/lib/libcrypto/doc/RAND_cleanup.pod4
-rw-r--r--src/lib/libcrypto/doc/RSA_blinding_on.pod2
-rw-r--r--src/lib/libcrypto/doc/RSA_new.pod2
-rw-r--r--src/lib/libcrypto/doc/RSA_set_method.pod2
-rw-r--r--src/lib/libcrypto/doc/X509_new.pod3
-rw-r--r--src/lib/libcrypto/man/ASN1_OBJECT_new.35
-rw-r--r--src/lib/libcrypto/man/BUF_MEM_new.35
-rw-r--r--src/lib/libssl/src/doc/crypto/DH_new.pod2
-rw-r--r--src/lib/libssl/src/doc/crypto/DH_set_method.pod2
-rw-r--r--src/lib/libssl/src/doc/crypto/DSA_SIG_new.pod2
-rw-r--r--src/lib/libssl/src/doc/crypto/DSA_new.pod2
-rw-r--r--src/lib/libssl/src/doc/crypto/DSA_set_method.pod2
-rw-r--r--src/lib/libssl/src/doc/crypto/ERR_load_strings.pod2
-rw-r--r--src/lib/libssl/src/doc/crypto/RAND_cleanup.pod4
-rw-r--r--src/lib/libssl/src/doc/crypto/RSA_blinding_on.pod2
-rw-r--r--src/lib/libssl/src/doc/crypto/RSA_new.pod2
-rw-r--r--src/lib/libssl/src/doc/crypto/RSA_set_method.pod2
-rw-r--r--src/lib/libssl/src/doc/crypto/X509_new.pod3
28 files changed, 14 insertions, 79 deletions
diff --git a/src/lib/libc/stdlib/hcreate.3 b/src/lib/libc/stdlib/hcreate.3
index ea264b57c8..610d2f3f88 100644
--- a/src/lib/libc/stdlib/hcreate.3
+++ b/src/lib/libc/stdlib/hcreate.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: hcreate.3,v 1.6 2010/07/28 09:00:20 ray Exp $ 1.\" $OpenBSD: hcreate.3,v 1.7 2016/03/12 21:31:22 mmcc Exp $
2.\" $NetBSD: hcreate.3,v 1.8 2010/05/01 06:18:03 jruoho Exp $ 2.\" $NetBSD: hcreate.3,v 1.8 2010/05/01 06:18:03 jruoho Exp $
3.\" 3.\"
4.\" Copyright (c) 1999 The NetBSD Foundation, Inc. 4.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
28.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29.\" POSSIBILITY OF SUCH DAMAGE. 29.\" POSSIBILITY OF SUCH DAMAGE.
30.\" 30.\"
31.Dd $Mdocdate: July 28 2010 $ 31.Dd $Mdocdate: March 12 2016 $
32.Dt HCREATE 3 32.Dt HCREATE 3
33.Os 33.Os
34.Sh NAME 34.Sh NAME
@@ -159,11 +159,6 @@ Otherwise, a value of 0 is returned and
159.Va errno 159.Va errno
160is set to indicate the error. 160is set to indicate the error.
161.Pp 161.Pp
162The
163.Fn hdestroy
164functions
165returns no value.
166.Pp
167If successful, the 162If successful, the
168.Fn hsearch 163.Fn hsearch
169function returns a pointer to a hash table entry matching 164function returns a pointer to a hash table entry matching
diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3
index 2e820047d0..c0be3a177d 100644
--- a/src/lib/libc/stdlib/malloc.3
+++ b/src/lib/libc/stdlib/malloc.3
@@ -30,9 +30,9 @@
30.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31.\" SUCH DAMAGE. 31.\" SUCH DAMAGE.
32.\" 32.\"
33.\" $OpenBSD: malloc.3,v 1.93 2016/02/05 15:09:09 schwarze Exp $ 33.\" $OpenBSD: malloc.3,v 1.94 2016/03/12 21:31:22 mmcc Exp $
34.\" 34.\"
35.Dd $Mdocdate: February 5 2016 $ 35.Dd $Mdocdate: March 12 2016 $
36.Dt MALLOC 3 36.Dt MALLOC 3
37.Os 37.Os
38.Sh NAME 38.Sh NAME
@@ -173,10 +173,6 @@ and set
173.Va errno 173.Va errno
174to 174to
175.Er ENOMEM . 175.Er ENOMEM .
176.Pp
177The
178.Fn free
179function returns no value.
180.Sh IDIOMS 176.Sh IDIOMS
181Consider 177Consider
182.Fn calloc 178.Fn calloc
diff --git a/src/lib/libc/stdlib/qsort.3 b/src/lib/libc/stdlib/qsort.3
index 36eaed879b..f753777780 100644
--- a/src/lib/libc/stdlib/qsort.3
+++ b/src/lib/libc/stdlib/qsort.3
@@ -29,9 +29,9 @@
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE. 30.\" SUCH DAMAGE.
31.\" 31.\"
32.\" $OpenBSD: qsort.3,v 1.18 2015/01/29 01:46:31 schwarze Exp $ 32.\" $OpenBSD: qsort.3,v 1.19 2016/03/12 21:31:22 mmcc Exp $
33.\" 33.\"
34.Dd $Mdocdate: January 29 2015 $ 34.Dd $Mdocdate: March 12 2016 $
35.Dt QSORT 3 35.Dt QSORT 3
36.Os 36.Os
37.Sh NAME 37.Sh NAME
@@ -143,10 +143,6 @@ which is faster than
143.Fn heapsort . 143.Fn heapsort .
144Memory availability and pre-existing order in the data can make this untrue. 144Memory availability and pre-existing order in the data can make this untrue.
145.Sh RETURN VALUES 145.Sh RETURN VALUES
146The
147.Fn qsort
148function returns no value.
149.Pp
150.Rv -std heapsort mergesort 146.Rv -std heapsort mergesort
151.Sh ERRORS 147.Sh ERRORS
152The 148The
diff --git a/src/lib/libc/stdlib/tsearch.3 b/src/lib/libc/stdlib/tsearch.3
index 46d0bba10c..2027f163e4 100644
--- a/src/lib/libc/stdlib/tsearch.3
+++ b/src/lib/libc/stdlib/tsearch.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: tsearch.3,v 1.19 2013/06/05 03:39:23 tedu Exp $ 1.\" $OpenBSD: tsearch.3,v 1.20 2016/03/12 21:31:22 mmcc Exp $
2.\" 2.\"
3.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> 3.\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com>
4.\" 4.\"
@@ -14,7 +14,7 @@
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\" 16.\"
17.Dd $Mdocdate: June 5 2013 $ 17.Dd $Mdocdate: March 12 2016 $
18.Dt TSEARCH 3 18.Dt TSEARCH 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -111,10 +111,6 @@ if
111is 111is
112.Dv NULL 112.Dv NULL
113or the datum cannot be found. 113or the datum cannot be found.
114.Pp
115The
116.Fn twalk
117function returns no value.
118.Sh SEE ALSO 114.Sh SEE ALSO
119.Xr bsearch 3 , 115.Xr bsearch 3 ,
120.Xr lsearch 3 116.Xr lsearch 3
diff --git a/src/lib/libcrypto/doc/DH_new.pod b/src/lib/libcrypto/doc/DH_new.pod
index d6c3ca82b5..0fdb7b9680 100644
--- a/src/lib/libcrypto/doc/DH_new.pod
+++ b/src/lib/libcrypto/doc/DH_new.pod
@@ -25,8 +25,6 @@ If the allocation fails, DH_new() returns B<NULL> and sets an error code that
25can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a 25can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a
26pointer to the newly allocated structure. 26pointer to the newly allocated structure.
27 27
28DH_free() returns no value.
29
30=head1 SEE ALSO 28=head1 SEE ALSO
31 29
32L<dh(3)|dh(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, 30L<dh(3)|dh(3)>, L<ERR_get_error(3)|ERR_get_error(3)>,
diff --git a/src/lib/libcrypto/doc/DH_set_method.pod b/src/lib/libcrypto/doc/DH_set_method.pod
index 2a4c2735cb..d82fe7377a 100644
--- a/src/lib/libcrypto/doc/DH_set_method.pod
+++ b/src/lib/libcrypto/doc/DH_set_method.pod
@@ -89,8 +89,6 @@ DH_set_default_method() is used.
89DH_OpenSSL() and DH_get_default_method() return pointers to the respective 89DH_OpenSSL() and DH_get_default_method() return pointers to the respective
90B<DH_METHOD>s. 90B<DH_METHOD>s.
91 91
92DH_set_default_method() returns no value.
93
94DH_set_method() returns non-zero if the provided B<meth> was successfully set as 92DH_set_method() returns non-zero if the provided B<meth> was successfully set as
95the method for B<dh> (including unloading the ENGINE handle if the previous 93the method for B<dh> (including unloading the ENGINE handle if the previous
96method was supplied by an ENGINE). 94method was supplied by an ENGINE).
diff --git a/src/lib/libcrypto/doc/DSA_SIG_new.pod b/src/lib/libcrypto/doc/DSA_SIG_new.pod
index 3ac6140038..77aa649db0 100644
--- a/src/lib/libcrypto/doc/DSA_SIG_new.pod
+++ b/src/lib/libcrypto/doc/DSA_SIG_new.pod
@@ -26,8 +26,6 @@ error code that can be obtained by
26L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a pointer 26L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a pointer
27to the newly allocated structure. 27to the newly allocated structure.
28 28
29DSA_SIG_free() returns no value.
30
31=head1 SEE ALSO 29=head1 SEE ALSO
32 30
33L<dsa(3)|dsa(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, 31L<dsa(3)|dsa(3)>, L<ERR_get_error(3)|ERR_get_error(3)>,
diff --git a/src/lib/libcrypto/doc/DSA_new.pod b/src/lib/libcrypto/doc/DSA_new.pod
index 48e9b82a09..e1e30b9a07 100644
--- a/src/lib/libcrypto/doc/DSA_new.pod
+++ b/src/lib/libcrypto/doc/DSA_new.pod
@@ -27,8 +27,6 @@ code that can be obtained by
27L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a pointer 27L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a pointer
28to the newly allocated structure. 28to the newly allocated structure.
29 29
30DSA_free() returns no value.
31
32=head1 SEE ALSO 30=head1 SEE ALSO
33 31
34L<dsa(3)|dsa(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, 32L<dsa(3)|dsa(3)>, L<ERR_get_error(3)|ERR_get_error(3)>,
diff --git a/src/lib/libcrypto/doc/DSA_set_method.pod b/src/lib/libcrypto/doc/DSA_set_method.pod
index 31f444d751..bc57a3e8e2 100644
--- a/src/lib/libcrypto/doc/DSA_set_method.pod
+++ b/src/lib/libcrypto/doc/DSA_set_method.pod
@@ -103,8 +103,6 @@ struct
103DSA_OpenSSL() and DSA_get_default_method() return pointers to the respective 103DSA_OpenSSL() and DSA_get_default_method() return pointers to the respective
104B<DSA_METHOD>s. 104B<DSA_METHOD>s.
105 105
106DSA_set_default_method() returns no value.
107
108DSA_set_method() returns non-zero if the provided B<meth> was successfully set 106DSA_set_method() returns non-zero if the provided B<meth> was successfully set
109as the method for B<dsa> (including unloading the ENGINE handle if the previous 107as the method for B<dsa> (including unloading the ENGINE handle if the previous
110method was supplied by an ENGINE). 108method was supplied by an ENGINE).
diff --git a/src/lib/libcrypto/doc/ERR_load_strings.pod b/src/lib/libcrypto/doc/ERR_load_strings.pod
index 5acdd0edbc..e9c5cf0fc5 100644
--- a/src/lib/libcrypto/doc/ERR_load_strings.pod
+++ b/src/lib/libcrypto/doc/ERR_load_strings.pod
@@ -38,7 +38,7 @@ to user libraries at runtime.
38 38
39=head1 RETURN VALUE 39=head1 RETURN VALUE
40 40
41ERR_load_strings() returns no value. ERR_PACK() return the error code. 41ERR_PACK() return the error code.
42ERR_get_next_error_library() returns a new library number. 42ERR_get_next_error_library() returns a new library number.
43 43
44=head1 SEE ALSO 44=head1 SEE ALSO
diff --git a/src/lib/libcrypto/doc/RAND_cleanup.pod b/src/lib/libcrypto/doc/RAND_cleanup.pod
index 3a8f0749a8..10cb39ce7a 100644
--- a/src/lib/libcrypto/doc/RAND_cleanup.pod
+++ b/src/lib/libcrypto/doc/RAND_cleanup.pod
@@ -14,10 +14,6 @@ RAND_cleanup - erase the PRNG state
14 14
15RAND_cleanup() erases the memory used by the PRNG. 15RAND_cleanup() erases the memory used by the PRNG.
16 16
17=head1 RETURN VALUE
18
19RAND_cleanup() returns no value.
20
21=head1 SEE ALSO 17=head1 SEE ALSO
22 18
23L<rand(3)|rand(3)> 19L<rand(3)|rand(3)>
diff --git a/src/lib/libcrypto/doc/RSA_blinding_on.pod b/src/lib/libcrypto/doc/RSA_blinding_on.pod
index 33990207f7..f96e3cf7c9 100644
--- a/src/lib/libcrypto/doc/RSA_blinding_on.pod
+++ b/src/lib/libcrypto/doc/RSA_blinding_on.pod
@@ -30,8 +30,6 @@ the blinding factor.
30 30
31RSA_blinding_on() returns 1 on success, and 0 if an error occurred. 31RSA_blinding_on() returns 1 on success, and 0 if an error occurred.
32 32
33RSA_blinding_off() returns no value.
34
35=head1 SEE ALSO 33=head1 SEE ALSO
36 34
37L<rsa(3)|rsa(3)>, L<rand(3)|rand(3)> 35L<rsa(3)|rsa(3)>, L<rand(3)|rand(3)>
diff --git a/src/lib/libcrypto/doc/RSA_new.pod b/src/lib/libcrypto/doc/RSA_new.pod
index 41e5e60340..0c85dc1d62 100644
--- a/src/lib/libcrypto/doc/RSA_new.pod
+++ b/src/lib/libcrypto/doc/RSA_new.pod
@@ -26,8 +26,6 @@ If the allocation fails, RSA_new() returns B<NULL> and sets an error code that
26can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a 26can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a
27pointer to the newly allocated structure. 27pointer to the newly allocated structure.
28 28
29RSA_free() returns no value.
30
31=head1 SEE ALSO 29=head1 SEE ALSO
32 30
33L<ERR_get_error(3)|ERR_get_error(3)>, L<rsa(3)|rsa(3)>, 31L<ERR_get_error(3)|ERR_get_error(3)>, L<rsa(3)|rsa(3)>,
diff --git a/src/lib/libcrypto/doc/RSA_set_method.pod b/src/lib/libcrypto/doc/RSA_set_method.pod
index 7f687c8718..3f50a89e5c 100644
--- a/src/lib/libcrypto/doc/RSA_set_method.pod
+++ b/src/lib/libcrypto/doc/RSA_set_method.pod
@@ -142,8 +142,6 @@ the default method is used.
142RSA_PKCS1_SSLeay(), RSA_PKCS1_null_method(), RSA_get_default_method() 142RSA_PKCS1_SSLeay(), RSA_PKCS1_null_method(), RSA_get_default_method()
143and RSA_get_method() return pointers to the respective RSA_METHODs. 143and RSA_get_method() return pointers to the respective RSA_METHODs.
144 144
145RSA_set_default_method() returns no value.
146
147RSA_set_method() returns a pointer to the old RSA_METHOD implementation 145RSA_set_method() returns a pointer to the old RSA_METHOD implementation
148that was replaced. However, this return value should probably be ignored 146that was replaced. However, this return value should probably be ignored
149because if it was supplied by an ENGINE, the pointer could be invalidated 147because if it was supplied by an ENGINE, the pointer could be invalidated
diff --git a/src/lib/libcrypto/doc/X509_new.pod b/src/lib/libcrypto/doc/X509_new.pod
index d38872335f..a36808b825 100644
--- a/src/lib/libcrypto/doc/X509_new.pod
+++ b/src/lib/libcrypto/doc/X509_new.pod
@@ -19,6 +19,7 @@ X509 structure, which represents an X509 certificate.
19X509_new() allocates and initializes a X509 structure. 19X509_new() allocates and initializes a X509 structure.
20 20
21X509_free() frees up the B<X509> structure B<a>. 21X509_free() frees up the B<X509> structure B<a>.
22If B<a> is a B<NULL> pointer, no action occurs.
22 23
23=head1 RETURN VALUES 24=head1 RETURN VALUES
24 25
@@ -26,8 +27,6 @@ If the allocation fails, X509_new() returns B<NULL> and sets an error
26code that can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. 27code that can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>.
27Otherwise it returns a pointer to the newly allocated structure. 28Otherwise it returns a pointer to the newly allocated structure.
28 29
29X509_free() returns no value.
30
31=head1 SEE ALSO 30=head1 SEE ALSO
32 31
33L<ERR_get_error(3)|ERR_get_error(3)>, L<d2i_X509(3)|d2i_X509(3)> 32L<ERR_get_error(3)|ERR_get_error(3)>, L<d2i_X509(3)|d2i_X509(3)>
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 ).
diff --git a/src/lib/libssl/src/doc/crypto/DH_new.pod b/src/lib/libssl/src/doc/crypto/DH_new.pod
index d6c3ca82b5..0fdb7b9680 100644
--- a/src/lib/libssl/src/doc/crypto/DH_new.pod
+++ b/src/lib/libssl/src/doc/crypto/DH_new.pod
@@ -25,8 +25,6 @@ If the allocation fails, DH_new() returns B<NULL> and sets an error code that
25can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a 25can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a
26pointer to the newly allocated structure. 26pointer to the newly allocated structure.
27 27
28DH_free() returns no value.
29
30=head1 SEE ALSO 28=head1 SEE ALSO
31 29
32L<dh(3)|dh(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, 30L<dh(3)|dh(3)>, L<ERR_get_error(3)|ERR_get_error(3)>,
diff --git a/src/lib/libssl/src/doc/crypto/DH_set_method.pod b/src/lib/libssl/src/doc/crypto/DH_set_method.pod
index 2a4c2735cb..d82fe7377a 100644
--- a/src/lib/libssl/src/doc/crypto/DH_set_method.pod
+++ b/src/lib/libssl/src/doc/crypto/DH_set_method.pod
@@ -89,8 +89,6 @@ DH_set_default_method() is used.
89DH_OpenSSL() and DH_get_default_method() return pointers to the respective 89DH_OpenSSL() and DH_get_default_method() return pointers to the respective
90B<DH_METHOD>s. 90B<DH_METHOD>s.
91 91
92DH_set_default_method() returns no value.
93
94DH_set_method() returns non-zero if the provided B<meth> was successfully set as 92DH_set_method() returns non-zero if the provided B<meth> was successfully set as
95the method for B<dh> (including unloading the ENGINE handle if the previous 93the method for B<dh> (including unloading the ENGINE handle if the previous
96method was supplied by an ENGINE). 94method was supplied by an ENGINE).
diff --git a/src/lib/libssl/src/doc/crypto/DSA_SIG_new.pod b/src/lib/libssl/src/doc/crypto/DSA_SIG_new.pod
index 3ac6140038..77aa649db0 100644
--- a/src/lib/libssl/src/doc/crypto/DSA_SIG_new.pod
+++ b/src/lib/libssl/src/doc/crypto/DSA_SIG_new.pod
@@ -26,8 +26,6 @@ error code that can be obtained by
26L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a pointer 26L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a pointer
27to the newly allocated structure. 27to the newly allocated structure.
28 28
29DSA_SIG_free() returns no value.
30
31=head1 SEE ALSO 29=head1 SEE ALSO
32 30
33L<dsa(3)|dsa(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, 31L<dsa(3)|dsa(3)>, L<ERR_get_error(3)|ERR_get_error(3)>,
diff --git a/src/lib/libssl/src/doc/crypto/DSA_new.pod b/src/lib/libssl/src/doc/crypto/DSA_new.pod
index 48e9b82a09..e1e30b9a07 100644
--- a/src/lib/libssl/src/doc/crypto/DSA_new.pod
+++ b/src/lib/libssl/src/doc/crypto/DSA_new.pod
@@ -27,8 +27,6 @@ code that can be obtained by
27L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a pointer 27L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a pointer
28to the newly allocated structure. 28to the newly allocated structure.
29 29
30DSA_free() returns no value.
31
32=head1 SEE ALSO 30=head1 SEE ALSO
33 31
34L<dsa(3)|dsa(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, 32L<dsa(3)|dsa(3)>, L<ERR_get_error(3)|ERR_get_error(3)>,
diff --git a/src/lib/libssl/src/doc/crypto/DSA_set_method.pod b/src/lib/libssl/src/doc/crypto/DSA_set_method.pod
index 31f444d751..bc57a3e8e2 100644
--- a/src/lib/libssl/src/doc/crypto/DSA_set_method.pod
+++ b/src/lib/libssl/src/doc/crypto/DSA_set_method.pod
@@ -103,8 +103,6 @@ struct
103DSA_OpenSSL() and DSA_get_default_method() return pointers to the respective 103DSA_OpenSSL() and DSA_get_default_method() return pointers to the respective
104B<DSA_METHOD>s. 104B<DSA_METHOD>s.
105 105
106DSA_set_default_method() returns no value.
107
108DSA_set_method() returns non-zero if the provided B<meth> was successfully set 106DSA_set_method() returns non-zero if the provided B<meth> was successfully set
109as the method for B<dsa> (including unloading the ENGINE handle if the previous 107as the method for B<dsa> (including unloading the ENGINE handle if the previous
110method was supplied by an ENGINE). 108method was supplied by an ENGINE).
diff --git a/src/lib/libssl/src/doc/crypto/ERR_load_strings.pod b/src/lib/libssl/src/doc/crypto/ERR_load_strings.pod
index 5acdd0edbc..e9c5cf0fc5 100644
--- a/src/lib/libssl/src/doc/crypto/ERR_load_strings.pod
+++ b/src/lib/libssl/src/doc/crypto/ERR_load_strings.pod
@@ -38,7 +38,7 @@ to user libraries at runtime.
38 38
39=head1 RETURN VALUE 39=head1 RETURN VALUE
40 40
41ERR_load_strings() returns no value. ERR_PACK() return the error code. 41ERR_PACK() return the error code.
42ERR_get_next_error_library() returns a new library number. 42ERR_get_next_error_library() returns a new library number.
43 43
44=head1 SEE ALSO 44=head1 SEE ALSO
diff --git a/src/lib/libssl/src/doc/crypto/RAND_cleanup.pod b/src/lib/libssl/src/doc/crypto/RAND_cleanup.pod
index 3a8f0749a8..10cb39ce7a 100644
--- a/src/lib/libssl/src/doc/crypto/RAND_cleanup.pod
+++ b/src/lib/libssl/src/doc/crypto/RAND_cleanup.pod
@@ -14,10 +14,6 @@ RAND_cleanup - erase the PRNG state
14 14
15RAND_cleanup() erases the memory used by the PRNG. 15RAND_cleanup() erases the memory used by the PRNG.
16 16
17=head1 RETURN VALUE
18
19RAND_cleanup() returns no value.
20
21=head1 SEE ALSO 17=head1 SEE ALSO
22 18
23L<rand(3)|rand(3)> 19L<rand(3)|rand(3)>
diff --git a/src/lib/libssl/src/doc/crypto/RSA_blinding_on.pod b/src/lib/libssl/src/doc/crypto/RSA_blinding_on.pod
index 33990207f7..f96e3cf7c9 100644
--- a/src/lib/libssl/src/doc/crypto/RSA_blinding_on.pod
+++ b/src/lib/libssl/src/doc/crypto/RSA_blinding_on.pod
@@ -30,8 +30,6 @@ the blinding factor.
30 30
31RSA_blinding_on() returns 1 on success, and 0 if an error occurred. 31RSA_blinding_on() returns 1 on success, and 0 if an error occurred.
32 32
33RSA_blinding_off() returns no value.
34
35=head1 SEE ALSO 33=head1 SEE ALSO
36 34
37L<rsa(3)|rsa(3)>, L<rand(3)|rand(3)> 35L<rsa(3)|rsa(3)>, L<rand(3)|rand(3)>
diff --git a/src/lib/libssl/src/doc/crypto/RSA_new.pod b/src/lib/libssl/src/doc/crypto/RSA_new.pod
index 41e5e60340..0c85dc1d62 100644
--- a/src/lib/libssl/src/doc/crypto/RSA_new.pod
+++ b/src/lib/libssl/src/doc/crypto/RSA_new.pod
@@ -26,8 +26,6 @@ If the allocation fails, RSA_new() returns B<NULL> and sets an error code that
26can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a 26can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a
27pointer to the newly allocated structure. 27pointer to the newly allocated structure.
28 28
29RSA_free() returns no value.
30
31=head1 SEE ALSO 29=head1 SEE ALSO
32 30
33L<ERR_get_error(3)|ERR_get_error(3)>, L<rsa(3)|rsa(3)>, 31L<ERR_get_error(3)|ERR_get_error(3)>, L<rsa(3)|rsa(3)>,
diff --git a/src/lib/libssl/src/doc/crypto/RSA_set_method.pod b/src/lib/libssl/src/doc/crypto/RSA_set_method.pod
index 7f687c8718..3f50a89e5c 100644
--- a/src/lib/libssl/src/doc/crypto/RSA_set_method.pod
+++ b/src/lib/libssl/src/doc/crypto/RSA_set_method.pod
@@ -142,8 +142,6 @@ the default method is used.
142RSA_PKCS1_SSLeay(), RSA_PKCS1_null_method(), RSA_get_default_method() 142RSA_PKCS1_SSLeay(), RSA_PKCS1_null_method(), RSA_get_default_method()
143and RSA_get_method() return pointers to the respective RSA_METHODs. 143and RSA_get_method() return pointers to the respective RSA_METHODs.
144 144
145RSA_set_default_method() returns no value.
146
147RSA_set_method() returns a pointer to the old RSA_METHOD implementation 145RSA_set_method() returns a pointer to the old RSA_METHOD implementation
148that was replaced. However, this return value should probably be ignored 146that was replaced. However, this return value should probably be ignored
149because if it was supplied by an ENGINE, the pointer could be invalidated 147because if it was supplied by an ENGINE, the pointer could be invalidated
diff --git a/src/lib/libssl/src/doc/crypto/X509_new.pod b/src/lib/libssl/src/doc/crypto/X509_new.pod
index d38872335f..a36808b825 100644
--- a/src/lib/libssl/src/doc/crypto/X509_new.pod
+++ b/src/lib/libssl/src/doc/crypto/X509_new.pod
@@ -19,6 +19,7 @@ X509 structure, which represents an X509 certificate.
19X509_new() allocates and initializes a X509 structure. 19X509_new() allocates and initializes a X509 structure.
20 20
21X509_free() frees up the B<X509> structure B<a>. 21X509_free() frees up the B<X509> structure B<a>.
22If B<a> is a B<NULL> pointer, no action occurs.
22 23
23=head1 RETURN VALUES 24=head1 RETURN VALUES
24 25
@@ -26,8 +27,6 @@ If the allocation fails, X509_new() returns B<NULL> and sets an error
26code that can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. 27code that can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>.
27Otherwise it returns a pointer to the newly allocated structure. 28Otherwise it returns a pointer to the newly allocated structure.
28 29
29X509_free() returns no value.
30
31=head1 SEE ALSO 30=head1 SEE ALSO
32 31
33L<ERR_get_error(3)|ERR_get_error(3)>, L<d2i_X509(3)|d2i_X509(3)> 32L<ERR_get_error(3)|ERR_get_error(3)>, L<d2i_X509(3)|d2i_X509(3)>