summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/doc/DH_set_method.pod
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/doc/DH_set_method.pod
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/doc/DH_set_method.pod')
-rw-r--r--src/lib/libcrypto/doc/DH_set_method.pod2
1 files changed, 0 insertions, 2 deletions
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).