diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2017-03-26 19:01:23 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-27 08:08:21 +0300 |
commit | 5028bf628c7ebfb85d14ec7dc296b264a1c3bcd3 (patch) | |
tree | 0bc67251ff72a4598bb06ee59a024d82997d0211 /hex.c | |
parent | 034667a458057ef1e571973a38ebbdf0045a63e9 (diff) |
Define new hash-size constants for allocating memory
Since we will want to transition to a new hash at some point in the
future, and that hash may be larger in size than 160 bits, introduce two
constants that can be used for allocating a sufficient amount of memory.
They can be increased to reflect the largest supported hash size.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'hex.c')
0 files changed, 0 insertions, 0 deletions