mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-16 02:53:14 -04:00
added seed to file sum
This commit is contained in:
1 parent
9e31c4824c
commit
73545f2ccb
1 file changed
+4
-1
+4
-1
@@ -137,8 +137,11 @@ static char sumrbuf[CSUM_CHUNK];
|
||||
|
||||
void sum_init(void)
|
||||
{
|
||||
MDbegin(&sumMD);
|
||||
char s[4];
|
||||
MDbegin(&sumMD);
|
||||
sumresidue=0;
|
||||
SIVAL(s,0,checksum_seed);
|
||||
sum_update(s,4);
|
||||
}
|
||||
|
||||
void sum_update(char *p,int len)
|
||||
|
||||
Reference in new issue
Block a user