summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPW Hu <jlu.hpw@foxmail.com>2021-09-03 14:40:17 +0800
committerRichard Levitte <levitte@openssl.org>2021-09-07 11:14:52 +0200
commit385e5fb4dcfe4ca0135c30de33a2813cdd18ff7c (patch)
tree623c4418fc5a01ffe1f719fe21cd441854e1a5c5
parentf43c1241c28526588f59e56c7f56422e0d23f411 (diff)
imporve documentation
CLA:trivial Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16502) (cherry picked from commit b9f96f30eea550650a8d9f8000cea940c6ee8150)
-rw-r--r--doc/man3/OSSL_STORE_LOADER.pod8
-rw-r--r--doc/man3/X509_digest.pod2
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/man3/OSSL_STORE_LOADER.pod b/doc/man3/OSSL_STORE_LOADER.pod
index d150d24b49..fc1153eb21 100644
--- a/doc/man3/OSSL_STORE_LOADER.pod
+++ b/doc/man3/OSSL_STORE_LOADER.pod
@@ -45,9 +45,9 @@ unregister STORE loaders for different URI schemes
int OSSL_STORE_LOADER_is_a(const OSSL_STORE_LOADER *loader,
const char *scheme);
void OSSL_STORE_LOADER_do_all_provided(OSSL_LIB_CTX *libctx,
- void (*fn)(OSSL_STORE_LOADER *loader,
+ void (*user_fn)(OSSL_STORE_LOADER *loader,
void *arg),
- void *arg);
+ void *user_arg);
int OSSL_STORE_LOADER_names_do_all(const OSSL_STORE_LOADER *loader,
void (*fn)(const char *name, void *data),
void *data);
@@ -142,8 +142,8 @@ I<loader> implementation.
OSSL_STORE_LOADER_do_all_provided() traverses all store implementations
by all activated providers in the library context I<libctx>, and for each
-of the implementations, calls I<fn> with the implementation method and
-I<data> as arguments.
+of the implementations, calls I<user_fn> with the implementation method and
+I<user_arg> as arguments.
OSSL_STORE_LOADER_names_do_all() traverses all names for the given
I<loader>, and calls I<fn> with each name and I<data>.
diff --git a/doc/man3/X509_digest.pod b/doc/man3/X509_digest.pod
index 8213bd06ca..f4921dbc18 100644
--- a/doc/man3/X509_digest.pod
+++ b/doc/man3/X509_digest.pod
@@ -67,7 +67,7 @@ to a place where the digest size will be stored.
=head1 RETURN VALUES
-X509_digest_sig() returns an ASN1_OCTET_STRING on success, else NULL.
+X509_digest_sig() returns an ASN1_OCTET_STRING pointer on success, else NULL.
All other functions described here return 1 for success and 0 for failure.