X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/d89a3a313ace4f2c8f743ad5f8fc8f181bf71633..d04e9c51b4bc8e0fc1c7065553dcd3ac73a0ae40:/lib/mdfour.c diff --git a/lib/mdfour.c b/lib/mdfour.c index d8e86322..8e06bdbb 100644 --- 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]; - extern int remote_version; + extern int protocol_version; /* * 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. */ - if (remote_version >= 27) { + if (protocol_version >= 27) { 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. */ - if (remote_version >= 27) { + if (protocol_version >= 27) { copy4(buf+124, m->totalN2); } copy64(M, buf);