Commit 88a8b97d authored by Niels Möller's avatar Niels Möller

* sha1.c (sha1_update): Use unsigned for length.

Rev: src/nettle/sha1.c:1.2
parent 0122aa5f
......@@ -260,7 +260,7 @@ sha1_block(struct sha1_ctx *ctx, const uint8_t *block)
void
sha1_update(struct sha1_ctx *ctx,
uint32_t length, const uint8_t *buffer)
unsigned length, const uint8_t *buffer)
{
if (ctx->index)
{ /* Try to fill partial block */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment