[misc] rename checksum.c to hash.c

This commit is contained in:
Pete Batard 2023-06-10 20:37:05 +01:00
parent 3e81b38c2d
commit 090bfb9770
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
12 changed files with 173 additions and 164 deletions

View file

@ -664,7 +664,7 @@ static void update_md5sum(void)
size = read_file(modified_path.String[i], &buf);
if (size == 0)
continue;
HashBuffer(CHECKSUM_MD5, buf, size, sum);
HashBuffer(HASH_MD5, buf, size, sum);
free(buf);
while ((pos > 0) && (md5_data[pos - 1] != '\n'))
pos--;