diff --git a/mozilla-sha1/sha1.c b/mozilla-sha1/sha1.c
index 7f6fc05e06e30b2f7b3eda6015043f5ebcfd34c1..847531d19f88e420ad68f95f11ab2f1f77876d08 100644 (file)
--- a/mozilla-sha1/sha1.c
+++ b/mozilla-sha1/sha1.c
}
-void SHA1_Update(SHA_CTX *ctx, void *_dataIn, int len) {
- unsigned char *dataIn = _dataIn;
+void SHA1_Update(SHA_CTX *ctx, const void *_dataIn, int len) {
+ const unsigned char *dataIn = _dataIn;
int i;
/* Read the data into W and process blocks as they get full