From 652d4a8c83f1dd33b2e617e8cc7d0cfea3d0aedf Mon Sep 17 00:00:00 2001 From: Kurt Roeckx Date: Sat, 21 Nov 2015 17:58:12 +0100 Subject: [PATCH] Update dasync to use size_t for the sha1 update Reviewed-by: Matt Caswell MR #1350 --- engines/e_dasync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.25.1