aboutsummaryrefslogtreecommitdiff
path: root/crypto/evp/digest.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-06-05 12:16:33 +0000
committerBen Laurie <ben@openssl.org>1999-06-05 12:16:33 +0000
commit8d8a8041ecd1b93e3279a31c404bbde15ba2b710 (patch)
tree5f9c238be3ad0b011031d0836ae245edff83ad19 /crypto/evp/digest.c
parent3cbb7937fa9ab7cbdab57ff37575d223b6153ec2 (diff)
downloadopenssl-8d8a8041ecd1b93e3279a31c404bbde15ba2b710.zip
openssl-8d8a8041ecd1b93e3279a31c404bbde15ba2b710.tar.gz
openssl-8d8a8041ecd1b93e3279a31c404bbde15ba2b710.tar.bz2
const/type fixes.
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 89575b5..c560733 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);