37 lines
1.6 KiB
Diff
37 lines
1.6 KiB
Diff
|
|
From 7a989af7386e97add7c759fda688c5d2e79e812e Mon Sep 17 00:00:00 2001
|
||
|
|
From: Read Hughes <hughes.read@gmail.com>
|
||
|
|
Date: Thu, 23 Jul 2020 10:25:28 -0400
|
||
|
|
Subject: [PATCH 057/147] Update EVP_EncodeInit.pod
|
||
|
|
|
||
|
|
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 | 4 ++--
|
||
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/doc/man3/EVP_EncodeInit.pod b/doc/man3/EVP_EncodeInit.pod
|
||
|
|
index 8055b10..2589254 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<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
|
||
|
|
--
|
||
|
|
1.8.3.1
|
||
|
|
|