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