edgar.iglesias@gmail.com writes:
diff --git a/sha3.c b/sha3.c
index d7aec46..21e7beb 100644
--- a/sha3.c
+++ b/sha3.c
@@ -61,7 +61,7 @@ _sha3_update (struct sha3_state *state,
if (pos > 0)
{
unsigned left = block_size - pos;
if (length < left)
{
memcpy (block + pos, data, length);
return pos + length;
Thanks, checked in now. Unfortunately, testutils.c:test_hash doesn't
exercise this logic.
Regards,
/Niels
--
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.