diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2019-02-19 03:05:19 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-04-01 05:57:39 +0300 |
commit | 87003d2c94985f9b3c5ef23b9c042ae3b4ede6bb (patch) | |
tree | 2b8b0ca9938deb953df5ae6733196a6c99ad9c91 /archive-zip.c | |
parent | 3548726cd7f5c5d2d8a1359ac21ae0354bd4c895 (diff) |
builtin/get-tar-commit-id: make hash size independent
To make this code independent of the hash size, verify that the length
of the comment is equal to that of any supported hash algorithm.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive-zip.c')
0 files changed, 0 insertions, 0 deletions