aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/evp/evp_key.c
diff options
context:
space:
mode:
authorLutz Jänicke <jaenicke@openssl.org>2001-04-14 14:50:02 +0000
committerLutz Jänicke <jaenicke@openssl.org>2001-04-14 14:50:02 +0000
commit854e076df8cbd79a407c7a282ccd0f7fd15ee481 (patch)
treecf043ec6052ae8813b958285274264125f216dd1 /crypto/evp/evp_key.c
parentcb2a0e13196701ec2fb234b48c157aeb9aa5b3e0 (diff)
downloadopenssl-854e076df8cbd79a407c7a282ccd0f7fd15ee481.tar.gz
Constify (Jason Molenda <jason@molenda.com>)
Diffstat (limited to 'crypto/evp/evp_key.c')
-rw-r--r--crypto/evp/evp_key.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/evp/evp_key.c b/crypto/evp/evp_key.c
index 76f2d2347e..26cdcdf195 100644
--- a/crypto/evp/evp_key.c
+++ b/crypto/evp/evp_key.c
@@ -95,9 +95,9 @@ int EVP_read_pw_string(char *buf, int len, const char *prompt, int verify)
#endif
}
-int EVP_BytesToKey(const EVP_CIPHER *type, const EVP_MD *md, unsigned char *salt,
- unsigned char *data, int datal, int count, unsigned char *key,
- unsigned char *iv)
+int EVP_BytesToKey(const EVP_CIPHER *type, const EVP_MD *md,
+ const unsigned char *salt, const unsigned char *data, int datal,
+ int count, unsigned char *key, unsigned char *iv)
{
EVP_MD_CTX c;
unsigned char md_buf[EVP_MAX_MD_SIZE];