mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-01-25 07:18:12 -05:00
added seed to file sum
This commit is contained in:
@@ -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