summaryrefslogtreecommitdiff
path: root/block-sha1/sha1.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-12-08 22:05:03 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-12-08 22:05:03 (GMT)
commitb5d2d8eef0ad08022a3f635c0bc292eb2cc5aefc (patch)
tree591e520fa223ef9294eb0fe50b7868023f3262a3 /block-sha1/sha1.h
parente6ed5a438c7a5436a08c08e269174d9975f8dc1d (diff)
parent001fd7a90b5851f62e700510729a5e09706f9b63 (diff)
downloadgit-b5d2d8eef0ad08022a3f635c0bc292eb2cc5aefc.zip
git-b5d2d8eef0ad08022a3f635c0bc292eb2cc5aefc.tar.gz
git-b5d2d8eef0ad08022a3f635c0bc292eb2cc5aefc.tar.bz2
Merge branch 'ad/sha1-update-chunked' into maint
Apple's common crypto implementation of SHA1_Update() does not take more than 4GB at a time, and we now have a compile-time workaround for it. * ad/sha1-update-chunked: sha1: allow limiting the size of the data passed to SHA1_Update() sha1: provide another level of indirection for the SHA-1 functions
Diffstat (limited to 'block-sha1/sha1.h')
-rw-r--r--block-sha1/sha1.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/block-sha1/sha1.h b/block-sha1/sha1.h
index b864df6..4df6747 100644
--- a/block-sha1/sha1.h
+++ b/block-sha1/sha1.h
@@ -16,7 +16,7 @@ void blk_SHA1_Init(blk_SHA_CTX *ctx);
void blk_SHA1_Update(blk_SHA_CTX *ctx, const void *dataIn, unsigned long len);
void blk_SHA1_Final(unsigned char hashout[20], blk_SHA_CTX *ctx);
-#define git_SHA_CTX blk_SHA_CTX
-#define git_SHA1_Init blk_SHA1_Init
-#define git_SHA1_Update blk_SHA1_Update
-#define git_SHA1_Final blk_SHA1_Final
+#define platform_SHA_CTX blk_SHA_CTX
+#define platform_SHA1_Init blk_SHA1_Init
+#define platform_SHA1_Update blk_SHA1_Update
+#define platform_SHA1_Final blk_SHA1_Final