diff options
author | David Robillard <d@drobilla.net> | 2021-10-27 11:17:07 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-10-27 11:17:07 -0400 |
commit | 7a26258b1208ca174cbeaf0bc455f459578c623c (patch) | |
tree | 431f0d90513c9337ca6484d8cbeab77b982f61c0 /.gitlab-ci.yml | |
parent | 6efd3ee1cb1c85e39fcdc6f0eef0c0e86db827a6 (diff) | |
download | zix-7a26258b1208ca174cbeaf0bc455f459578c623c.tar.gz zix-7a26258b1208ca174cbeaf0bc455f459578c623c.tar.bz2 zix-7a26258b1208ca174cbeaf0bc455f459578c623c.zip |
Fix zix_digest64() to consume all input
This was a copy-paste bug since the loop in zix_digest32() worked differently.
As a result only the first block was considered, making the digest nearly
useless for larger values. The tests didn't (and unfortunately still don't)
catch this because the 64-bit digest algorithm incorporates the size itself.
Fix this by changing the loop to work the same way as zix_digest32(), so
hopefully something like this doesn't happen again.
Diffstat (limited to '.gitlab-ci.yml')
0 files changed, 0 insertions, 0 deletions