diff options
author | Mattias Andrée <maandree@kth.se> | 2022-02-13 01:24:56 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-02-13 01:24:56 +0100 |
commit | df1f6bd41fc6b5da11bd574d00f4b164ae16a787 (patch) | |
tree | 0b00b5f7a3cabfd037674a9e39ccf57eaa680174 /libar2_hash.c | |
parent | Fix typo (diff) | |
download | libar2-df1f6bd41fc6b5da11bd574d00f4b164ae16a787.tar.gz libar2-df1f6bd41fc6b5da11bd574d00f4b164ae16a787.tar.bz2 libar2-df1f6bd41fc6b5da11bd574d00f4b164ae16a787.tar.xz |
Bug fix
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libar2_hash.c')
-rw-r--r-- | libar2_hash.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |