]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
DOC: Fix a few minor issues in OSSL_ENCODER / OSSL_DECODER docs
authorRichard Levitte <levitte@openssl.org>
Mon, 25 Jan 2021 13:16:05 +0000 (14:16 +0100)
committerRichard Levitte <levitte@openssl.org>
Tue, 26 Jan 2021 14:54:07 +0000 (15:54 +0100)
Partially fixes #13949

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13954)

doc/man3/OSSL_DECODER.pod
doc/man3/OSSL_ENCODER.pod

index b951d8d0b91606343b23ae95554aafe5374bd207..347df85e1bd2e46cc66307442f01f8788ed346d7 100644 (file)
@@ -73,12 +73,12 @@ OSSL_DECODER_number() returns the internal dynamic number assigned
 to the given I<decoder>.
 
 OSSL_DECODER_names_do_all() traverses all names for the given
-I<decoder>, and calls I<fn> with each name and I<data>.
+I<decoder>, and calls I<fn> with each name and I<data> as arguments.
 
-OSSL_DECODER_do_all_provided() traverses all encoder
+OSSL_DECODER_do_all_provided() traverses all decoder
 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.
+implementation method and I<arg> as arguments.
 
 OSSL_DECODER_gettable_params() returns an L<OSSL_PARAM(3)>
 array of parameter descriptors.
index 46e3717276e8c00be00534ddd930bf2c12e5ed21..15f2a5f9354e2fd358d262e67de113ec4c4e5dfe 100644 (file)
@@ -73,12 +73,12 @@ OSSL_ENCODER_number() returns the internal dynamic number assigned to
 the given I<encoder>.
 
 OSSL_ENCODER_names_do_all() traverses all names for the given
-I<encoder>, and calls I<fn> with each name and I<data>.
+I<encoder>, and calls I<fn> with each name and I<data> as arguments.
 
 OSSL_ENCODER_do_all_provided() traverses all encoder
 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.
+implementation method and I<arg> as arguments.
 
 OSSL_ENCODER_gettable_params() returns an L<OSSL_PARAM(3)>
 array of parameter descriptors.