From: Kurt Roeckx Date: Sat, 21 Nov 2015 16:58:12 +0000 (+0100) Subject: Update dasync to use size_t for the sha1 update X-Git-Tag: OpenSSL_1_1_0-pre1~194 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=652d4a8c83f1dd33b2e617e8cc7d0cfea3d0aedf;p=oweals%2Fopenssl.git Update dasync to use size_t for the sha1 update Reviewed-by: Matt Caswell MR #1350 --- diff --git a/engines/e_dasync.c b/engines/e_dasync.c index 76171b181c..04f72a46fd 100644 --- a/engines/e_dasync.c +++ b/engines/e_dasync.c @@ -87,7 +87,7 @@ static void dummy_pause_job(void); /* SHA1 */ static int dasync_sha1_init(EVP_MD_CTX *ctx); static int dasync_sha1_update(EVP_MD_CTX *ctx, const void *data, - unsigned long count); + size_t count); static int dasync_sha1_final(EVP_MD_CTX *ctx, unsigned char *md); static const EVP_MD dasync_sha1 = { @@ -269,7 +269,7 @@ static int dasync_sha1_init(EVP_MD_CTX *ctx) } static int dasync_sha1_update(EVP_MD_CTX *ctx, const void *data, - unsigned long count) + size_t count) { dummy_pause_job();