Fix docs for EVP_EncryptUpdate and EVP_DecryptUpdate
authorFdaSilvaYY <fdasilvayy@gmail.com>
Wed, 22 Nov 2017 21:00:29 +0000 (22:00 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 28 Nov 2017 10:32:46 +0000 (10:32 +0000)
Fixes #4775
[skip ci]

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4776)

doc/man3/EVP_EncryptInit.pod

index 798a7c34e90e19191df4a81bfef681f29d774a0b..d82468c56287d2c31f5988d1fc4b78c85c0f1e01 100644 (file)
@@ -61,13 +61,13 @@ EVP_enc_null
  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);
 
  int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,