From df1f6bd41fc6b5da11bd574d00f4b164ae16a787 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 13 Feb 2022 01:24:56 +0100 Subject: Bug fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libar2_hash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libar2_hash.c b/libar2_hash.c index 7f3cf3b..2a800aa 100644 --- a/libar2_hash.c +++ b/libar2_hash.c @@ -572,6 +572,7 @@ libar2_hash(void *hash, void *msg, size_t msglen, struct libar2_argon2_parameter tn = ctx->get_ready_threads(ts, ELEMSOF(ts), ctx); if (!tn) goto fail; + ti = 0; } tparams[ti].pass = (uint_least32_t)p; tparams[ti].lane = (uint_least32_t)i; -- cgit v1.2.3-70-g09d2