mirror of
https://github.com/openssl/openssl.git
synced 2025-04-12 20:30:52 +08:00
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)
This commit is contained in:
parent
adb408dc79
commit
0dbd3a81e4
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user