if (digest_pos != -1)
{
- const u32 final_hash_pos = digests_offset + digest_pos;
-
- if (atomic_inc (&hashes_shown[final_hash_pos]) == 0)
+ if ((il_pos + slice) < il_cnt)
{
- mark_hash (plains_buf, d_return_buf, salt_pos, digest_pos, final_hash_pos, gid, il_pos + slice);
+ const u32 final_hash_pos = digests_offset + digest_pos;
+
+ if (atomic_inc (&hashes_shown[final_hash_pos]) == 0)
+ {
+ mark_hash (plains_buf, d_return_buf, salt_pos, digest_pos, final_hash_pos, gid, il_pos + slice);
+ }
}
}
}