search for: mdfour_data

Displaying 5 results from an estimated 5 matches for "mdfour_data".

2004 Feb 09
1
[patch] Add `--link-by-hash' option.
....c 2004-02-09 15:42:40.000000000 -0500 +++ receiver.c 2004-02-09 15:42:40.000000000 -0500 @@ -237,10 +237,11 @@ static int receive_data(int f_in,struct map_struct *buf,int fd,char *fname, - OFF_T total_size) + OFF_T total_size,char *md4) { int i; struct sum_struct sum; + struct mdfour mdfour_data; unsigned int len; OFF_T offset = 0; OFF_T offset2; @@ -250,6 +251,8 @@ char *map=NULL; read_sum_head(f_in, &sum); + if (md4) + mdfour_begin(&mdfour_data); sum_init(); @@ -269,6 +272,8 @@ cleanup_got_literal = 1; sum_update(data,i); + if (md4) + md...
2004 Feb 23
0
[patch] Add `--link-by-hash' option (rev 4).
...2004-02-23 10:22:51.000000000 -0500 +++ receiver.c 2004-02-23 10:22:51.000000000 -0500 @@ -186,10 +186,11 @@ static int receive_data(int f_in,struct map_struct *mapbuf,int fd,char *fname, - OFF_T total_size) + OFF_T total_size,char *md4) { int i; struct sum_struct sum; + struct mdfour mdfour_data; unsigned int len; OFF_T offset = 0; OFF_T offset2; @@ -199,7 +200,9 @@ char *map=NULL; read_sum_head(f_in, &sum); - + if (md4) + mdfour_begin(&mdfour_data); + sum_init(); while ((i = recv_token(f_in, &data)) != 0) { @@ -216,6 +219,8 @@ cleanup_got_literal = 1;...
2004 Feb 17
0
[patch] Add `--link-by-hash' option (rev 3).
...2004-02-17 10:36:44.000000000 -0500 +++ receiver.c 2004-02-17 13:10:23.000000000 -0500 @@ -186,10 +186,11 @@ static int receive_data(int f_in,struct map_struct *mapbuf,int fd,char *fname, - OFF_T total_size) + OFF_T total_size,char *md4) { int i; struct sum_struct sum; + struct mdfour mdfour_data; unsigned int len; OFF_T offset = 0; OFF_T offset2; @@ -199,7 +200,9 @@ char *map=NULL; read_sum_head(f_in, &sum); - + if (md4) + mdfour_begin(&mdfour_data); + sum_init(); while ((i = recv_token(f_in, &data)) != 0) { @@ -216,6 +219,8 @@ cleanup_got_literal = 1;...
2004 Feb 23
0
[patch] Add `--link-by-hash' option (rev 5).
...2004-02-23 10:22:51.000000000 -0500 +++ receiver.c 2004-02-23 10:22:51.000000000 -0500 @@ -186,10 +186,11 @@ static int receive_data(int f_in,struct map_struct *mapbuf,int fd,char *fname, - OFF_T total_size) + OFF_T total_size,char *md4) { int i; struct sum_struct sum; + struct mdfour mdfour_data; unsigned int len; OFF_T offset = 0; OFF_T offset2; @@ -199,7 +200,9 @@ char *map=NULL; read_sum_head(f_in, &sum); - + if (md4) + mdfour_begin(&mdfour_data); + sum_init(); while ((i = recv_token(f_in, &data)) != 0) { @@ -216,6 +219,8 @@ cleanup_got_literal = 1;...
2004 Feb 16
1
[patch] Add `--link-by-hash' option (rev 2).
...2004-02-16 10:24:39.000000000 -0500 +++ receiver.c 2004-02-16 10:19:41.000000000 -0500 @@ -186,10 +186,11 @@ static int receive_data(int f_in,struct map_struct *mapbuf,int fd,char *fname, - OFF_T total_size) + OFF_T total_size,char *md4) { int i; struct sum_struct sum; + struct mdfour mdfour_data; unsigned int len; OFF_T offset = 0; OFF_T offset2; @@ -199,7 +200,9 @@ char *map=NULL; read_sum_head(f_in, &sum); - + if (md4) + mdfour_begin(&mdfour_data); + sum_init(); while ((i = recv_token(f_in, &data)) != 0) { @@ -216,6 +219,8 @@ cleanup_got_literal = 1;...