1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-14 03:39:09 +00:00

Update inc_hash_base58.cl

Fix the logic error in the loop
This commit is contained in:
0x588 2023-11-08 17:08:58 +08:00
parent adbcef6909
commit a196cfe01c

View File

@ -578,7 +578,7 @@ DECLSPEC bool b58enc (PRIVATE_AS u8 *b58, PRIVATE_AS u32 *b58sz, PRIVATE_AS cons
j = 0;
for (; j < (size && !buf[j]); j++) {}
for (; j < size && !buf[j]; j++) {}
if (*b58sz <= zcount + size - j)
{