Update EVP_EncodeInit.pod
authorRead Hughes <hughes.read@gmail.com>
Thu, 23 Jul 2020 14:25:28 +0000 (10:25 -0400)
committerDmitry Belyavskiy <beldmit@gmail.com>
Fri, 24 Jul 2020 15:16:26 +0000 (18:16 +0300)
Fix EVP_EncodeBlock description using incorrect parameter name for encoding length

CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/12518)

(cherry picked from commit 1660c8fa6be2d7c4587e490c88a44a870e9b4298)

doc/man3/EVP_EncodeInit.pod

index 8055b100b252246cd47c40ddb30e23c3cb8e9dd1..2589254735869b56c30a4a35748f95d348716907 100644 (file)
@@ -83,8 +83,8 @@ EVP_ENCODE_CTX_num() will return the number of as yet unprocessed bytes still to
 be encoded or decoded that are pending in the B<ctx> object.
 
 EVP_EncodeBlock() encodes a full block of input data in B<f> and of length
-B<dlen> and stores it in B<t>. For every 3 bytes of input provided 4 bytes of
-output data will be produced. If B<dlen> is not divisible by 3 then the block is
+B<n> and stores it in B<t>. For every 3 bytes of input provided 4 bytes of
+output data will be produced. If B<n> is not divisible by 3 then the block is
 encoded as a final block of data and the output is padded such that it is always
 divisible by 4. Additionally a NUL terminator character will be added. For
 example if 16 bytes of input data is provided then 24 bytes of encoded data is