summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/evp/p_dec.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/evp/p_dec.c')
-rw-r--r--lib/libcrypto/evp/p_dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/evp/p_dec.c b/lib/libcrypto/evp/p_dec.c
index 8af620400e2..f64901f6534 100644
--- a/lib/libcrypto/evp/p_dec.c
+++ b/lib/libcrypto/evp/p_dec.c
@@ -66,7 +66,7 @@
#include <openssl/objects.h>
#include <openssl/x509.h>
-int EVP_PKEY_decrypt(unsigned char *key, unsigned char *ek, int ekl,
+int EVP_PKEY_decrypt(unsigned char *key, const unsigned char *ek, int ekl,
EVP_PKEY *priv)
{
int ret= -1;