commit 6bb30d9ac5bf8593ff093c65c5c6b9e1e596df0a from: Stefan Sperling date: Fri Mar 09 17:02:39 2018 UTC the file index header checksum applies to on-disk data commit - 3c34e7b062706326db14bb0da2b16ea2c61ddc45 commit + 6bb30d9ac5bf8593ff093c65c5c6b9e1e596df0a blob - eef7ed2ef0cc144a683eef7a2f862479286715e2 blob + c1fb90517805757d7828029aaa8e56e5b63a4b30 --- lib/got_file_index_priv.h +++ lib/got_file_index_priv.h @@ -65,5 +65,5 @@ struct got_file_index_hdr { uint32_t version; /* big-endian on disk */ uint32_t nentries; /* big-endian on disk */ struct got_file_index_entry *entries; /* big-endian on disk */ - uint8_t sha1[SHA1_DIGEST_LENGTH]; /* checksum of above data */ + uint8_t sha1[SHA1_DIGEST_LENGTH]; /* checksum of above on-disk data */ };