mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
Update inc_hash_base58.cl
Fix the logic error in the loop
This commit is contained in:
parent
adbcef6909
commit
a196cfe01c
@ -578,7 +578,7 @@ DECLSPEC bool b58enc (PRIVATE_AS u8 *b58, PRIVATE_AS u32 *b58sz, PRIVATE_AS cons
|
|||||||
|
|
||||||
j = 0;
|
j = 0;
|
||||||
|
|
||||||
for (; j < (size && !buf[j]); j++) {}
|
for (; j < size && !buf[j]; j++) {}
|
||||||
|
|
||||||
if (*b58sz <= zcount + size - j)
|
if (*b58sz <= zcount + size - j)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user