Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use new pathjoin() function.
[rsync/rsync.git]
/
lib
/
mdfour.c
diff --git
a/lib/mdfour.c
b/lib/mdfour.c
index
d8e8632
..
8e06bdb
100644
(file)
--- a/
lib/mdfour.c
+++ b/
lib/mdfour.c
@@
-117,7
+117,7
@@
static void mdfour_tail(unsigned char *in, uint32 n)
{
unsigned char buf[128];
uint32 M[16];
{
unsigned char buf[128];
uint32 M[16];
- extern int
remote
_version;
+ extern int
protocol
_version;
/*
* Count total number of bits, modulo 2^64
/*
* Count total number of bits, modulo 2^64
@@
-140,7
+140,7
@@
static void mdfour_tail(unsigned char *in, uint32 n)
* of bits modulo 2^64, which was fixed starting with
* protocol version 27.
*/
* of bits modulo 2^64, which was fixed starting with
* protocol version 27.
*/
- if (
remote
_version >= 27) {
+ if (
protocol
_version >= 27) {
copy4(buf+60, m->totalN2);
}
copy64(M, buf);
copy4(buf+60, m->totalN2);
}
copy64(M, buf);
@@
-153,7
+153,7
@@
static void mdfour_tail(unsigned char *in, uint32 n)
* of bits modulo 2^64, which was fixed starting with
* protocol version 27.
*/
* of bits modulo 2^64, which was fixed starting with
* protocol version 27.
*/
- if (
remote
_version >= 27) {
+ if (
protocol
_version >= 27) {
copy4(buf+124, m->totalN2);
}
copy64(M, buf);
copy4(buf+124, m->totalN2);
}
copy64(M, buf);