X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fsha1.c;h=d1a76ee6de061fffa83c7a924596c03c5c1d0acb;hp=cb55b49a4f11a324744ccccc3e7876c945d297ca;hb=HEAD;hpb=9951598d11f9e883374d295f886009cdb64d8f63 diff --git a/lib/sha1.c b/lib/sha1.c index cb55b49a..d1a76ee6 100644 --- a/lib/sha1.c +++ b/lib/sha1.c @@ -55,6 +55,7 @@ char * _notmuch_sha1_of_file (const char *filename) { FILE *file; + #define BLOCK_SIZE 4096 unsigned char block[BLOCK_SIZE]; size_t bytes_read;