diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-12-04 11:19:09 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-12-04 11:19:10 -0800 |
commit | 4672123fe5cb629d2a261245fd0a2e003ef35ea3 (patch) | |
tree | 9707f636c82566e86ed31a190d9127f157ec5b18 /ppc/sha1.h | |
parent | Merge branch 'mk/blame-first-parent' (diff) | |
parent | sha1: allow limiting the size of the data passed to SHA1_Update() (diff) | |
download | tgif-4672123fe5cb629d2a261245fd0a2e003ef35ea3.tar.xz |
Merge branch 'ad/sha1-update-chunked'
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 'ppc/sha1.h')
-rw-r--r-- | ppc/sha1.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ppc/sha1.h b/ppc/sha1.h index c405f734c2..9b24b32615 100644 --- a/ppc/sha1.h +++ b/ppc/sha1.h @@ -19,7 +19,7 @@ int ppc_SHA1_Init(ppc_SHA_CTX *c); int ppc_SHA1_Update(ppc_SHA_CTX *c, const void *p, unsigned long n); int ppc_SHA1_Final(unsigned char *hash, ppc_SHA_CTX *c); -#define git_SHA_CTX ppc_SHA_CTX -#define git_SHA1_Init ppc_SHA1_Init -#define git_SHA1_Update ppc_SHA1_Update -#define git_SHA1_Final ppc_SHA1_Final +#define platform_SHA_CTX ppc_SHA_CTX +#define platform_SHA1_Init ppc_SHA1_Init +#define platform_SHA1_Update ppc_SHA1_Update +#define platform_SHA1_Final ppc_SHA1_Final |