diff options
author | Marco Abbadini <39488007+marcoabbadini@users.noreply.github.com> | 2022-11-24 02:11:25 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-11-25 13:11:16 +0100 |
commit | ac591bf69e6be7c6ca3446cbb61c80292e088305 (patch) | |
tree | c41cf7fcb8c20f284d3a501e16ef8977249f79dd | |
parent | e7a7aa783485d2756557b6caa848cb3104fe4f56 (diff) |
Fix typos in doc/man3/EVP_EncryptInit.pod
Fixes #19728
CLA: trivial
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19753)
(cherry picked from commit 0dbd3a81e46dd7ea9f7832307fdd0b2ac207a5bf)
-rw-r--r-- | doc/man3/EVP_EncryptInit.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man3/EVP_EncryptInit.pod b/doc/man3/EVP_EncryptInit.pod index 15834349f0..f774d7c283 100644 --- a/doc/man3/EVP_EncryptInit.pod +++ b/doc/man3/EVP_EncryptInit.pod @@ -1637,9 +1637,9 @@ Encryption using AES-CBC with a 256-bit key with "CS1" ciphertext stealing. goto err; /* NOTE: CTS mode does not support multiple calls to EVP_CipherUpdate() */ - if (!EVP_CipherUpdate(ctx, encrypted, &outlen, msg, msglen)) + if (!EVP_CipherUpdate(ctx, out, &outlen, msg, msg_len)) goto err; - if (!EVP_CipherFinal_ex(ctx, encrypted + outlen, &len)) + if (!EVP_CipherFinal_ex(ctx, out + outlen, &len)) goto err; ret = 1; err: |