aboutsummaryrefslogtreecommitdiff
path: root/net/rsync/patches/007-dont-forget-to-tweak-sum_update.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net/rsync/patches/007-dont-forget-to-tweak-sum_update.patch')
-rw-r--r--net/rsync/patches/007-dont-forget-to-tweak-sum_update.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/rsync/patches/007-dont-forget-to-tweak-sum_update.patch b/net/rsync/patches/007-dont-forget-to-tweak-sum_update.patch
new file mode 100644
index 000000000..42ecfc9ba
--- /dev/null
+++ b/net/rsync/patches/007-dont-forget-to-tweak-sum_update.patch
@@ -0,0 +1,18 @@
+commit c252546ceeb0925eb8a4061315e3ff0a8c55b48b
+Author: Wayne Davison <wayned@samba.org>
+Date: Tue Oct 24 20:42:41 2017 -0700
+
+ Don't forget to tweak sum_update().
+
+diff --git a/checksum.c b/checksum.c
+index 9382694..c119f97 100644
+--- a/checksum.c
++++ b/checksum.c
+@@ -295,6 +295,7 @@ void sum_update(const char *p, int32 len)
+ case CSUM_MD4:
+ case CSUM_MD4_OLD:
+ case CSUM_MD4_BUSTED:
++ case CSUM_MD4_ARCHAIC:
+ if (len + sumresidue < CSUM_CHUNK) {
+ memcpy(md.buffer + sumresidue, p, len);
+ sumresidue += len;