Skip to content

Commit

Permalink
Use SUBinaryDeltaMajorVersion4
Browse files Browse the repository at this point in the history
  • Loading branch information
zorgiepoo committed Sep 30, 2024
1 parent 0413bc7 commit db93959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Autoupdate/SUBinaryDeltaCommon.m
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ BOOL getRawHashOfTreeAndFileTablesWithVersion(void *hashBuffer, NSString *path,
CC_SHA1_CTX hashContext;
uLong crc32ChecksumValue = 0;

if (majorVersion < 4) {
if (majorVersion < SUBinaryDeltaMajorVersion4) {
CC_SHA1_Init(&hashContext);
}

Expand Down

0 comments on commit db93959

Please sign in to comment.