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;
struct hash_if ops;
};
-init_module sha1_module;
void sha1_module(dict_t *dict)
{
struct sha1 *st;