X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=mozilla-sha1%2Fsha1.h;h=5d82afa3bdd21a2855c569a73cf3277b5c6a41bc;hb=efd0201684c6e9bf663811dc849590b8fe27b8b2;hp=f5decbf43b259232d3ec4a665712df61f946a7f5;hpb=85c1f337be49eaa9a22e42a1c9958deef5ab57c3;p=git.git diff --git a/mozilla-sha1/sha1.h b/mozilla-sha1/sha1.h index f5decbf4..5d82afa3 100644 --- a/mozilla-sha1/sha1.h +++ b/mozilla-sha1/sha1.h @@ -41,5 +41,5 @@ typedef struct { } SHA_CTX; void SHA1_Init(SHA_CTX *ctx); -void SHA1_Update(SHA_CTX *ctx, void *dataIn, int len); +void SHA1_Update(SHA_CTX *ctx, const void *dataIn, int len); void SHA1_Final(unsigned char hashout[20], SHA_CTX *ctx);