fix output for ugly corner case master
authorHelmut Grohne <helmut@subdivi.de>
Tue, 9 Sep 2014 17:42:22 +0000 (19:42 +0200)
committerHelmut Grohne <helmut@subdivi.de>
Tue, 9 Sep 2014 17:42:22 +0000 (19:42 +0200)
commit4f3540d8369ec6270241b01e0805f5c1a6bcfda8
tree84fba1008e66c877a8d231e6e050b7861e2a7307
parenta8671a9c2ebce7d958fb1cd26a0fab7969d6902b
fix output for ugly corner case

When the roll_sum of the last piece happens to be 0, the original
algorithm picks one byte of the digest behind the end. In the original
algorithm, it is initially set to zero and updated unconditionally even
when the length is not increased. Copy that behaviour.
fuzzy.c