summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/crypto/evp/e_null.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/crypto/evp/e_null.c')
-rw-r--r--crypto/openssl/crypto/evp/e_null.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/openssl/crypto/evp/e_null.c b/crypto/openssl/crypto/evp/e_null.c
index 2420d7e..5205259 100644
--- a/crypto/openssl/crypto/evp/e_null.c
+++ b/crypto/openssl/crypto/evp/e_null.c
@@ -76,6 +76,7 @@ static const EVP_CIPHER n_cipher=
0,
NULL,
NULL,
+ NULL,
NULL
};
@@ -95,7 +96,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;
}
OpenPOWER on IntegriCloud