From: brian m. carlson Date: Wed, 14 Nov 2018 04:09:33 +0000 (+0000) Subject: sha1-file: add a constant for hash block size X-Git-Tag: v2.21.0-rc0~65^2~5 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/a2ce0a752600a44979da94b19aa1b367c6850bd7?hp=a2ce0a752600a44979da94b19aa1b367c6850bd7 sha1-file: add a constant for hash block size There is one place we need the hash algorithm block size: the HMAC code for push certs. Expose this constant in struct git_hash_algo and expose values for SHA-1 and for the largest value of any hash. Signed-off-by: brian m. carlson Signed-off-by: Junio C Hamano ---