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