提交 652d4a8c 编写于 作者: K Kurt Roeckx

Update dasync to use size_t for the sha1 update

Reviewed-by: NMatt Caswell <matt@openssl.org>

MR #1350
上级 68db80e2
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册