From: Marco Abbadini <39488007+marcoabbadini@users.noreply.github.com> Date: Thu, 24 Nov 2022 01:11:25 +0000 (+0100) Subject: Fix typos in doc/man3/EVP_EncryptInit.pod X-Git-Tag: openssl-3.2.0-alpha1~1662 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0dbd3a81e46dd7ea9f7832307fdd0b2ac207a5bf;p=thirdparty%2Fopenssl.git Fix typos in doc/man3/EVP_EncryptInit.pod Fixes #19728 CLA: trivial Reviewed-by: Hugo Landau Reviewed-by: Shane Lontis Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/19753) --- diff --git a/doc/man3/EVP_EncryptInit.pod b/doc/man3/EVP_EncryptInit.pod index 2b75b71b048..1fa31d3f532 100644 --- a/doc/man3/EVP_EncryptInit.pod +++ b/doc/man3/EVP_EncryptInit.pod @@ -1657,9 +1657,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: