diff options
author | Junio C Hamano <junkio@cox.net> | 2005-11-01 19:56:03 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-01 23:05:12 +0100 |
commit | 77ab8798d3f8df39877235be17bb6e70077aaba2 (patch) | |
tree | 6a9a4a9efa37f60acb44ce12a9c7159561b837d9 /mozilla-sha1/sha1.h | |
parent | Document the use of "current directory" as pull source. (diff) | |
download | git-77ab8798d3f8df39877235be17bb6e70077aaba2.tar.xz git-77ab8798d3f8df39877235be17bb6e70077aaba2.zip |
Fix constness of input in mozilla-sha1/sha1.c::SHA1_Update().
Among the three of our own implementations, only this one lacked
"const" from the second argument.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'mozilla-sha1/sha1.h')
-rw-r--r-- | mozilla-sha1/sha1.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mozilla-sha1/sha1.h b/mozilla-sha1/sha1.h index f5decbf43b..5d82afa3bd 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); |