From 1660c8fa6be2d7c4587e490c88a44a870e9b4298 Mon Sep 17 00:00:00 2001 From: Read Hughes Date: Thu, 23 Jul 2020 10:25:28 -0400 Subject: [PATCH] Update EVP_EncodeInit.pod Fix EVP_EncodeBlock description using incorrect parameter name for encoding length CLA: trivial Reviewed-by: Matt Caswell Reviewed-by: Dmitry Belyavskiy (Merged from https://github.com/openssl/openssl/pull/12518) --- doc/man3/EVP_EncodeInit.pod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/man3/EVP_EncodeInit.pod b/doc/man3/EVP_EncodeInit.pod index 89e33584503..2b9e02e02d7 100644 --- a/doc/man3/EVP_EncodeInit.pod +++ b/doc/man3/EVP_EncodeInit.pod @@ -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 object. EVP_EncodeBlock() encodes a full block of input data in B and of length -B and stores it in B. For every 3 bytes of input provided 4 bytes of -output data will be produced. If B is not divisible by 3 then the block is +B and stores it in B. For every 3 bytes of input provided 4 bytes of +output data will be produced. If B 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 -- 2.47.2