commit 9c0abf71962d4574550913e6785e7e7fdf9948b6 from: Omar Polo date: Sat Feb 04 14:00:31 2023 UTC bump got_object_id hash size to make room for sha256 digests commit - 1362b0e3088fdb4d1c93ffbdd3a1fbbdc767a34b commit + 9c0abf71962d4574550913e6785e7e7fdf9948b6 blob - 72acf5a82fd1d870800cbf4318eba1e7adffd15e blob + 9ea57251b69bdb5700e0fd371705a2c201e32769 --- include/got_object.h +++ include/got_object.h @@ -22,7 +22,7 @@ enum got_hash_algorithm { }; struct got_object_id { - u_int8_t hash[SHA1_DIGEST_LENGTH]; + u_int8_t hash[SHA256_DIGEST_LENGTH]; enum got_hash_algorithm algo; };