diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2017-12-11 16:46:05 +0000 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2017-12-20 16:08:04 +0000 |
| commit | bdb542143909fc278c8ba89b0c64cdf72fcaf7d2 (patch) | |
| tree | 4ffe4213c6798cced5de038d891002c17fe21c11 /src/thread-utils.c | |
| parent | a89560d5693a2f43cc852cb5806df837dc79b790 (diff) | |
| download | libgit2-bdb542143909fc278c8ba89b0c64cdf72fcaf7d2.tar.gz | |
hash: commoncrypto hash should support large files
Teach the CommonCrypto hash mechanisms to support large files. The hash
primitives take a `CC_LONG` (aka `uint32_t`) at a time. So loop to give
the hash function at most an unsigned 32 bit's worth of bytes until we
have hashed the entire file.
Diffstat (limited to 'src/thread-utils.c')
0 files changed, 0 insertions, 0 deletions
