X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/389070fed67552c613ce5afd3cdb436f8f8c538f..53dea2fbb44f128eb4f6c2259adcd9fbefe1527e:/sha1.c diff --git a/sha1.c b/sha1.c index 7b09f6e..a0f26e8 100644 --- a/sha1.c +++ b/sha1.c @@ -294,7 +294,7 @@ static void *sha1_init(void) return ctx; } -static void sha1_update(void *sst, uint8_t const *buf, uint32_t len) +static void sha1_update(void *sst, const void *buf, int32_t len) { SHA1_CTX *ctx=sst;