summaryrefslogtreecommitdiff
path: root/ssdeep.c
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2014-09-09 19:42:22 +0200
committerHelmut Grohne <helmut@subdivi.de>2014-09-09 19:42:22 +0200
commit4f3540d8369ec6270241b01e0805f5c1a6bcfda8 (patch)
tree84fba1008e66c877a8d231e6e050b7861e2a7307 /ssdeep.c
parenta8671a9c2ebce7d958fb1cd26a0fab7969d6902b (diff)
downloadssdeep-master.tar.gz
fix output for ugly corner caseHEADmaster
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.
Diffstat (limited to 'ssdeep.c')
0 files changed, 0 insertions, 0 deletions