diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2015-11-21 17:58:12 +0100 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2015-11-22 10:38:56 +0100 |
commit | 652d4a8c83f1dd33b2e617e8cc7d0cfea3d0aedf (patch) | |
tree | a4a32f11ceade1f0925003fc93bbc8fd79c4d421 /engines | |
parent | 68db80e2d1accdd4c4a6b4763559c6cfe9663820 (diff) |
Update dasync to use size_t for the sha1 update
Reviewed-by: Matt Caswell <matt@openssl.org>
MR #1350
Diffstat (limited to 'engines')
-rw-r--r-- | engines/e_dasync.c | 4 |
1 files 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(); |