]> wimlib.net Git - wimlib/blobdiff - src/ntfs-capture.c
Rewrite integrity calculation and checks
[wimlib] / src / ntfs-capture.c
index d23776b889d39cc4c990ebcd4cb130439fefef75..fb670dc0183845e08f8e2349bc1c8b4cc6434295 100644 (file)
@@ -209,7 +209,7 @@ static int ntfs_attr_sha1sum(ntfs_inode *ni, ATTR_RECORD *ar,
 {
        s64 pos = 0;
        s64 bytes_remaining;
-       char buf[4096];
+       char buf[BUFFER_SIZE];
        ntfs_attr *na;
        SHA_CTX ctx;