summaryrefslogtreecommitdiffstats
path: root/crypto/evp/digest.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/evp/digest.c')
-rw-r--r--crypto/evp/digest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/digest.c b/crypto/evp/digest.c
index 89575b5dac..c560733568 100644
--- a/crypto/evp/digest.c
+++ b/crypto/evp/digest.c
@@ -67,7 +67,7 @@ void EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type)
type->init(&(ctx->md));
}
-void EVP_DigestUpdate(EVP_MD_CTX *ctx, const unsigned char *data,
+void EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *data,
unsigned int count)
{
ctx->digest->update(&(ctx->md.base[0]),data,(unsigned long)count);