From: FdaSilvaYY Date: Tue, 28 Nov 2017 22:16:02 +0000 (+0100) Subject: Fix docs for EVP_EncryptUpdate and EVP_DecryptUpdate X-Git-Tag: OpenSSL_1_1_0h~184 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a61c15eb9b8d0ef513d695c854516958e2ccf1eb;p=oweals%2Fopenssl.git Fix docs for EVP_EncryptUpdate and EVP_DecryptUpdate Fixes #4775 Reviewed-by: Andy Polyakov Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/4815) --- diff --git a/doc/crypto/EVP_EncryptInit.pod b/doc/crypto/EVP_EncryptInit.pod index 17bd7a99c6..f842eeaf7d 100644 --- a/doc/crypto/EVP_EncryptInit.pod +++ b/doc/crypto/EVP_EncryptInit.pod @@ -47,14 +47,14 @@ EVP_chacha20, EVP_chacha20_poly1305 - EVP cipher routines int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, ENGINE *impl, unsigned char *key, unsigned char *iv); int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, - int *outl, unsigned char *in, int inl); + int *outl, const unsigned char *in, int inl); int EVP_EncryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl); int EVP_DecryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type, ENGINE *impl, unsigned char *key, unsigned char *iv); int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, - int *outl, unsigned char *in, int inl); + int *outl, const unsigned char *in, int inl); int EVP_DecryptFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl);