diff options
author | mmcc <> | 2016-03-12 21:31:22 +0000 |
---|---|---|
committer | mmcc <> | 2016-03-12 21:31:22 +0000 |
commit | d692c27f466b0683d4f7dd5f72058e64e04f0cd4 (patch) | |
tree | 41d48a54c09f49f4e37617cd4f79d217bf4250a8 | |
parent | b5aa7e790e535fc940826232ac1bf67aeb800cb0 (diff) | |
download | openbsd-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@
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 |
160 | is set to indicate the error. | 160 | is set to indicate the error. |
161 | .Pp | 161 | .Pp |
162 | The | ||
163 | .Fn hdestroy | ||
164 | functions | ||
165 | returns no value. | ||
166 | .Pp | ||
167 | If successful, the | 162 | If successful, the |
168 | .Fn hsearch | 163 | .Fn hsearch |
169 | function returns a pointer to a hash table entry matching | 164 | function 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 |
174 | to | 174 | to |
175 | .Er ENOMEM . | 175 | .Er ENOMEM . |
176 | .Pp | ||
177 | The | ||
178 | .Fn free | ||
179 | function returns no value. | ||
180 | .Sh IDIOMS | 176 | .Sh IDIOMS |
181 | Consider | 177 | Consider |
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 . |
144 | Memory availability and pre-existing order in the data can make this untrue. | 144 | Memory availability and pre-existing order in the data can make this untrue. |
145 | .Sh RETURN VALUES | 145 | .Sh RETURN VALUES |
146 | The | ||
147 | .Fn qsort | ||
148 | function returns no value. | ||
149 | .Pp | ||
150 | .Rv -std heapsort mergesort | 146 | .Rv -std heapsort mergesort |
151 | .Sh ERRORS | 147 | .Sh ERRORS |
152 | The | 148 | The |
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 | |||
111 | is | 111 | is |
112 | .Dv NULL | 112 | .Dv NULL |
113 | or the datum cannot be found. | 113 | or the datum cannot be found. |
114 | .Pp | ||
115 | The | ||
116 | .Fn twalk | ||
117 | function 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 | |||
25 | can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a | 25 | can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a |
26 | pointer to the newly allocated structure. | 26 | pointer to the newly allocated structure. |
27 | 27 | ||
28 | DH_free() returns no value. | ||
29 | |||
30 | =head1 SEE ALSO | 28 | =head1 SEE ALSO |
31 | 29 | ||
32 | L<dh(3)|dh(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, | 30 | L<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. | |||
89 | DH_OpenSSL() and DH_get_default_method() return pointers to the respective | 89 | DH_OpenSSL() and DH_get_default_method() return pointers to the respective |
90 | B<DH_METHOD>s. | 90 | B<DH_METHOD>s. |
91 | 91 | ||
92 | DH_set_default_method() returns no value. | ||
93 | |||
94 | DH_set_method() returns non-zero if the provided B<meth> was successfully set as | 92 | DH_set_method() returns non-zero if the provided B<meth> was successfully set as |
95 | the method for B<dh> (including unloading the ENGINE handle if the previous | 93 | the method for B<dh> (including unloading the ENGINE handle if the previous |
96 | method was supplied by an ENGINE). | 94 | method 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 | |||
26 | L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a pointer | 26 | L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a pointer |
27 | to the newly allocated structure. | 27 | to the newly allocated structure. |
28 | 28 | ||
29 | DSA_SIG_free() returns no value. | ||
30 | |||
31 | =head1 SEE ALSO | 29 | =head1 SEE ALSO |
32 | 30 | ||
33 | L<dsa(3)|dsa(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, | 31 | L<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 | |||
27 | L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a pointer | 27 | L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a pointer |
28 | to the newly allocated structure. | 28 | to the newly allocated structure. |
29 | 29 | ||
30 | DSA_free() returns no value. | ||
31 | |||
32 | =head1 SEE ALSO | 30 | =head1 SEE ALSO |
33 | 31 | ||
34 | L<dsa(3)|dsa(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, | 32 | L<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 | |||
103 | DSA_OpenSSL() and DSA_get_default_method() return pointers to the respective | 103 | DSA_OpenSSL() and DSA_get_default_method() return pointers to the respective |
104 | B<DSA_METHOD>s. | 104 | B<DSA_METHOD>s. |
105 | 105 | ||
106 | DSA_set_default_method() returns no value. | ||
107 | |||
108 | DSA_set_method() returns non-zero if the provided B<meth> was successfully set | 106 | DSA_set_method() returns non-zero if the provided B<meth> was successfully set |
109 | as the method for B<dsa> (including unloading the ENGINE handle if the previous | 107 | as the method for B<dsa> (including unloading the ENGINE handle if the previous |
110 | method was supplied by an ENGINE). | 108 | method 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 | ||
41 | ERR_load_strings() returns no value. ERR_PACK() return the error code. | 41 | ERR_PACK() return the error code. |
42 | ERR_get_next_error_library() returns a new library number. | 42 | ERR_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 | ||
15 | RAND_cleanup() erases the memory used by the PRNG. | 15 | RAND_cleanup() erases the memory used by the PRNG. |
16 | 16 | ||
17 | =head1 RETURN VALUE | ||
18 | |||
19 | RAND_cleanup() returns no value. | ||
20 | |||
21 | =head1 SEE ALSO | 17 | =head1 SEE ALSO |
22 | 18 | ||
23 | L<rand(3)|rand(3)> | 19 | L<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 | ||
31 | RSA_blinding_on() returns 1 on success, and 0 if an error occurred. | 31 | RSA_blinding_on() returns 1 on success, and 0 if an error occurred. |
32 | 32 | ||
33 | RSA_blinding_off() returns no value. | ||
34 | |||
35 | =head1 SEE ALSO | 33 | =head1 SEE ALSO |
36 | 34 | ||
37 | L<rsa(3)|rsa(3)>, L<rand(3)|rand(3)> | 35 | L<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 | |||
26 | can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a | 26 | can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a |
27 | pointer to the newly allocated structure. | 27 | pointer to the newly allocated structure. |
28 | 28 | ||
29 | RSA_free() returns no value. | ||
30 | |||
31 | =head1 SEE ALSO | 29 | =head1 SEE ALSO |
32 | 30 | ||
33 | L<ERR_get_error(3)|ERR_get_error(3)>, L<rsa(3)|rsa(3)>, | 31 | L<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. | |||
142 | RSA_PKCS1_SSLeay(), RSA_PKCS1_null_method(), RSA_get_default_method() | 142 | RSA_PKCS1_SSLeay(), RSA_PKCS1_null_method(), RSA_get_default_method() |
143 | and RSA_get_method() return pointers to the respective RSA_METHODs. | 143 | and RSA_get_method() return pointers to the respective RSA_METHODs. |
144 | 144 | ||
145 | RSA_set_default_method() returns no value. | ||
146 | |||
147 | RSA_set_method() returns a pointer to the old RSA_METHOD implementation | 145 | RSA_set_method() returns a pointer to the old RSA_METHOD implementation |
148 | that was replaced. However, this return value should probably be ignored | 146 | that was replaced. However, this return value should probably be ignored |
149 | because if it was supplied by an ENGINE, the pointer could be invalidated | 147 | because 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. | |||
19 | X509_new() allocates and initializes a X509 structure. | 19 | X509_new() allocates and initializes a X509 structure. |
20 | 20 | ||
21 | X509_free() frees up the B<X509> structure B<a>. | 21 | X509_free() frees up the B<X509> structure B<a>. |
22 | If 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 | |||
26 | code that can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. | 27 | code that can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. |
27 | Otherwise it returns a pointer to the newly allocated structure. | 28 | Otherwise it returns a pointer to the newly allocated structure. |
28 | 29 | ||
29 | X509_free() returns no value. | ||
30 | |||
31 | =head1 SEE ALSO | 30 | =head1 SEE ALSO |
32 | 31 | ||
33 | L<ERR_get_error(3)|ERR_get_error(3)>, L<d2i_X509(3)|d2i_X509(3)> | 32 | L<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 | |||
47 | and sets an error code that can be obtained by | 47 | and sets an error code that can be obtained by |
48 | .Xr ERR_get_error 3 . | 48 | .Xr ERR_get_error 3 . |
49 | Otherwise it returns a pointer to the newly allocated structure. | 49 | Otherwise it returns a pointer to the newly allocated structure. |
50 | .Pp | ||
51 | .Fn ASN1_OBJECT_free | ||
52 | returns 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 |
90 | on error. | 90 | on error. |
91 | .Pp | 91 | .Pp |
92 | .Fn BUF_MEM_free | ||
93 | returns no value. | ||
94 | .Pp | ||
95 | .Fn BUF_MEM_grow | 92 | .Fn BUF_MEM_grow |
96 | returns zero on error or the new size (i.e. | 93 | returns 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 | |||
25 | can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a | 25 | can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a |
26 | pointer to the newly allocated structure. | 26 | pointer to the newly allocated structure. |
27 | 27 | ||
28 | DH_free() returns no value. | ||
29 | |||
30 | =head1 SEE ALSO | 28 | =head1 SEE ALSO |
31 | 29 | ||
32 | L<dh(3)|dh(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, | 30 | L<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. | |||
89 | DH_OpenSSL() and DH_get_default_method() return pointers to the respective | 89 | DH_OpenSSL() and DH_get_default_method() return pointers to the respective |
90 | B<DH_METHOD>s. | 90 | B<DH_METHOD>s. |
91 | 91 | ||
92 | DH_set_default_method() returns no value. | ||
93 | |||
94 | DH_set_method() returns non-zero if the provided B<meth> was successfully set as | 92 | DH_set_method() returns non-zero if the provided B<meth> was successfully set as |
95 | the method for B<dh> (including unloading the ENGINE handle if the previous | 93 | the method for B<dh> (including unloading the ENGINE handle if the previous |
96 | method was supplied by an ENGINE). | 94 | method 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 | |||
26 | L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a pointer | 26 | L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a pointer |
27 | to the newly allocated structure. | 27 | to the newly allocated structure. |
28 | 28 | ||
29 | DSA_SIG_free() returns no value. | ||
30 | |||
31 | =head1 SEE ALSO | 29 | =head1 SEE ALSO |
32 | 30 | ||
33 | L<dsa(3)|dsa(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, | 31 | L<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 | |||
27 | L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a pointer | 27 | L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a pointer |
28 | to the newly allocated structure. | 28 | to the newly allocated structure. |
29 | 29 | ||
30 | DSA_free() returns no value. | ||
31 | |||
32 | =head1 SEE ALSO | 30 | =head1 SEE ALSO |
33 | 31 | ||
34 | L<dsa(3)|dsa(3)>, L<ERR_get_error(3)|ERR_get_error(3)>, | 32 | L<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 | |||
103 | DSA_OpenSSL() and DSA_get_default_method() return pointers to the respective | 103 | DSA_OpenSSL() and DSA_get_default_method() return pointers to the respective |
104 | B<DSA_METHOD>s. | 104 | B<DSA_METHOD>s. |
105 | 105 | ||
106 | DSA_set_default_method() returns no value. | ||
107 | |||
108 | DSA_set_method() returns non-zero if the provided B<meth> was successfully set | 106 | DSA_set_method() returns non-zero if the provided B<meth> was successfully set |
109 | as the method for B<dsa> (including unloading the ENGINE handle if the previous | 107 | as the method for B<dsa> (including unloading the ENGINE handle if the previous |
110 | method was supplied by an ENGINE). | 108 | method 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 | ||
41 | ERR_load_strings() returns no value. ERR_PACK() return the error code. | 41 | ERR_PACK() return the error code. |
42 | ERR_get_next_error_library() returns a new library number. | 42 | ERR_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 | ||
15 | RAND_cleanup() erases the memory used by the PRNG. | 15 | RAND_cleanup() erases the memory used by the PRNG. |
16 | 16 | ||
17 | =head1 RETURN VALUE | ||
18 | |||
19 | RAND_cleanup() returns no value. | ||
20 | |||
21 | =head1 SEE ALSO | 17 | =head1 SEE ALSO |
22 | 18 | ||
23 | L<rand(3)|rand(3)> | 19 | L<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 | ||
31 | RSA_blinding_on() returns 1 on success, and 0 if an error occurred. | 31 | RSA_blinding_on() returns 1 on success, and 0 if an error occurred. |
32 | 32 | ||
33 | RSA_blinding_off() returns no value. | ||
34 | |||
35 | =head1 SEE ALSO | 33 | =head1 SEE ALSO |
36 | 34 | ||
37 | L<rsa(3)|rsa(3)>, L<rand(3)|rand(3)> | 35 | L<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 | |||
26 | can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a | 26 | can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a |
27 | pointer to the newly allocated structure. | 27 | pointer to the newly allocated structure. |
28 | 28 | ||
29 | RSA_free() returns no value. | ||
30 | |||
31 | =head1 SEE ALSO | 29 | =head1 SEE ALSO |
32 | 30 | ||
33 | L<ERR_get_error(3)|ERR_get_error(3)>, L<rsa(3)|rsa(3)>, | 31 | L<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. | |||
142 | RSA_PKCS1_SSLeay(), RSA_PKCS1_null_method(), RSA_get_default_method() | 142 | RSA_PKCS1_SSLeay(), RSA_PKCS1_null_method(), RSA_get_default_method() |
143 | and RSA_get_method() return pointers to the respective RSA_METHODs. | 143 | and RSA_get_method() return pointers to the respective RSA_METHODs. |
144 | 144 | ||
145 | RSA_set_default_method() returns no value. | ||
146 | |||
147 | RSA_set_method() returns a pointer to the old RSA_METHOD implementation | 145 | RSA_set_method() returns a pointer to the old RSA_METHOD implementation |
148 | that was replaced. However, this return value should probably be ignored | 146 | that was replaced. However, this return value should probably be ignored |
149 | because if it was supplied by an ENGINE, the pointer could be invalidated | 147 | because 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. | |||
19 | X509_new() allocates and initializes a X509 structure. | 19 | X509_new() allocates and initializes a X509 structure. |
20 | 20 | ||
21 | X509_free() frees up the B<X509> structure B<a>. | 21 | X509_free() frees up the B<X509> structure B<a>. |
22 | If 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 | |||
26 | code that can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. | 27 | code that can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. |
27 | Otherwise it returns a pointer to the newly allocated structure. | 28 | Otherwise it returns a pointer to the newly allocated structure. |
28 | 29 | ||
29 | X509_free() returns no value. | ||
30 | |||
31 | =head1 SEE ALSO | 30 | =head1 SEE ALSO |
32 | 31 | ||
33 | L<ERR_get_error(3)|ERR_get_error(3)>, L<d2i_X509(3)|d2i_X509(3)> | 32 | L<ERR_get_error(3)|ERR_get_error(3)>, L<d2i_X509(3)|d2i_X509(3)> |