diff options
-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 2b75b71b04..1fa31d3f53 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: |