imporve documentation
authorPW Hu <jlu.hpw@foxmail.com>
Fri, 3 Sep 2021 06:40:17 +0000 (14:40 +0800)
committerRichard Levitte <levitte@openssl.org>
Tue, 7 Sep 2021 09:14:52 +0000 (11:14 +0200)
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)

doc/man3/OSSL_STORE_LOADER.pod
doc/man3/X509_digest.pod

index d150d24b492c5047be12633497ef9134d012f614..fc1153eb211bb21bd04281a049d3e28419bf3810 100644 (file)
@@ -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>.
index 8213bd06caad796a713ee003b021c6253c8039b6..f4921dbc187bf56b74dae1af5ffaa09babc41ac6 100644 (file)
@@ -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.