X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/fe5e9cc422cd72526ccfceffbc7e5af8ac83b407..7f861e63553911e2d61c8a7ce8c16b8089446822:/sha1.c diff --git a/sha1.c b/sha1.c index a90958b..0bcae87 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, uint8_t const *buf, int32_t len) { SHA1_CTX *ctx=sst; @@ -314,7 +314,6 @@ struct sha1 { struct hash_if ops; }; -init_module sha1_module; void sha1_module(dict_t *dict) { struct sha1 *st;