X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=mozilla-sha1%2Fsha1.h;h=5d82afa3bdd21a2855c569a73cf3277b5c6a41bc;hb=4c61b7d15a6215fa4dffa33c37c3ef9df80d3f67;hp=f5decbf43b259232d3ec4a665712df61f946a7f5;hpb=1301c6eb412e7c5511b952a12e42c70ad56f028b;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);