X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fevp%2Fdigest.c;h=c560733568c7adde2fc5e912d086a05b49be0642;hb=8d5b4ee1cab7cd02f9fe246fb60d7d018a315a86;hp=89575b5dacd8fbada464693853d6e3fb59b16c33;hpb=ec577822f95a8bca0023c5c77cef1a4916822d4a;p=oweals%2Fopenssl.git 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);