summaryrefslogtreecommitdiff
path: root/mozilla-sha1/sha1.h
diff options
context:
space:
mode:
Diffstat (limited to 'mozilla-sha1/sha1.h')
-rw-r--r--mozilla-sha1/sha1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mozilla-sha1/sha1.h b/mozilla-sha1/sha1.h
index f5decbf..5d82afa 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);