From 385e5fb4dcfe4ca0135c30de33a2813cdd18ff7c Mon Sep 17 00:00:00 2001 From: PW Hu Date: Fri, 3 Sep 2021 14:40:17 +0800 Subject: imporve documentation CLA:trivial Reviewed-by: Tomas Mraz Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/16502) (cherry picked from commit b9f96f30eea550650a8d9f8000cea940c6ee8150) --- doc/man3/OSSL_STORE_LOADER.pod | 8 ++++---- doc/man3/X509_digest.pod | 2 +- 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 implementation. OSSL_STORE_LOADER_do_all_provided() traverses all store implementations by all activated providers in the library context I, and for each -of the implementations, calls I with the implementation method and -I as arguments. +of the implementations, calls I with the implementation method and +I as arguments. OSSL_STORE_LOADER_names_do_all() traverses all names for the given I, and calls I with each name and I. 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. -- cgit v1.2.3