summaryrefslogtreecommitdiff
path: root/lib/libcrypto/doc/DH_new.pod
diff options
context:
space:
mode:
authorMichael McConville <mmcc@cvs.openbsd.org>2016-03-12 21:31:23 +0000
committerMichael McConville <mmcc@cvs.openbsd.org>2016-03-12 21:31:23 +0000
commitb79ee23e66b1285c71ac7b0db7df12fa6700e5d9 (patch)
tree4cccbf70612db1c67490420222827118012435c3 /lib/libcrypto/doc/DH_new.pod
parent3eab1cafd6b7ceec8f7fb32f68ce2784a66bf065 (diff)
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 'lib/libcrypto/doc/DH_new.pod')
-rw-r--r--lib/libcrypto/doc/DH_new.pod2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libcrypto/doc/DH_new.pod b/lib/libcrypto/doc/DH_new.pod
index d6c3ca82b5f..0fdb7b9680c 100644
--- a/lib/libcrypto/doc/DH_new.pod
+++ b/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
can be obtained by L<ERR_get_error(3)|ERR_get_error(3)>. Otherwise it returns a
pointer to the newly allocated structure.
-DH_free() returns no value.
-
=head1 SEE ALSO
L<dh(3)|dh(3)>, L<ERR_get_error(3)|ERR_get_error(3)>,