summaryrefslogtreecommitdiffstats
path: root/crypto/evp/e_null.c
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2005-03-22 17:55:18 +0000
committerNils Larsch <nils@openssl.org>2005-03-22 17:55:18 +0000
commit41e455bfc43b9815f5b6d7498601fdd508c80dc2 (patch)
treee453dc40c0cb7223c0fa166ed86e5b20420462d9 /crypto/evp/e_null.c
parent59b6836ab2cff27c9d7062699abcbf805350b8ad (diff)
test, remove unnecessary const cast
Diffstat (limited to 'crypto/evp/e_null.c')
-rw-r--r--crypto/evp/e_null.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/e_null.c b/crypto/evp/e_null.c
index 2420d7e5af..698a8e379c 100644
--- a/crypto/evp/e_null.c
+++ b/crypto/evp/e_null.c
@@ -95,7 +95,7 @@ static int null_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
const unsigned char *in, unsigned int inl)
{
if (in != out)
- memcpy((char *)out,(char *)in,(int)inl);
+ memcpy((char *)out,(const char *)in,(size_t)inl);
return 1;
}