mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 08:45:07 -05:00
Some hash functions in the freebl3 library don't support truncated digests and either return immediately with no update of the output length, or ignore the length of the output buffer and always write whole digest. Initialize the return value to zero to get correct result with the former. This is triggered only in the hash unit test. chronyd always provides a sufficient buffer for the digest.
2.6 KiB
2.6 KiB