diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/PackFile.java b/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/PackFile.java index 99637ee61..ed159ef38 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/PackFile.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/PackFile.java @@ -334,7 +334,7 @@ public class PackFile implements Iterable { readFully(src.offset + headerCnt, buf, 0, 20, curs); crc1.update(buf, 0, 20); - crc2.update(buf, 0, headerCnt); + crc2.update(buf, 0, 20); headerCnt += 20; } else { crc1.update(buf, 0, headerCnt);