summaryrefslogtreecommitdiffstats
path: root/mozilla-sha1/sha1.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-01 21:58:53 -0800
committerJunio C Hamano <junkio@cox.net>2005-11-01 21:58:53 -0800
commit235d521da60e4699e5bd59ac658b5b48bd76ddca (patch)
tree25620311ca206d41659b5f3e6f60760dca584c2b /mozilla-sha1/sha1.c
parentMerge branch 'fixes' (diff)
parentAdd -P to the documentation head. (diff)
downloadgit-0.99.9b.tar.gz
git-0.99.9b.zip
GIT 0.99.9bv0.99.9b
This contains the changes made on the master branch since 0.99.9a. The workaround for building RPMs has not changed since 0.99.9a, mainly because I haven't heard back if it was good enough for kernel.org consumption, or otherwise what changes are needed. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'mozilla-sha1/sha1.c')
-rw-r--r--mozilla-sha1/sha1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mozilla-sha1/sha1.c b/mozilla-sha1/sha1.c
index 7f6fc05e06..847531d19f 100644
--- a/mozilla-sha1/sha1.c
+++ b/mozilla-sha1/sha1.c
@@ -56,8 +56,8 @@ void SHA1_Init(SHA_CTX *ctx) {
}
-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