Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PPC SHA1 routine for large input buffers
The PPC SHA1 routine had an overflow which meant that it gave incorrect results for input buffers >= 512MB. This fixes it by ensuring that the update of the total length in bits is done using 64-bit arithmetic. Signed-off-by: Paul Mackerras <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
- Loading branch information