Skip to content

Commit

Permalink
Fix progress info when bruteforcing only 1 character.
Browse files Browse the repository at this point in the history
  • Loading branch information
glv2 committed Nov 1, 2015
1 parent ce91722 commit 89a8735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bruteforce-wallet.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ void * decryption_func_bruteforce(void *arg)
}
EVP_CIPHER_CTX_cleanup(&ctx);

dfargs->counter++;
free(pwd);

if(len == 0)
Expand All @@ -192,7 +193,6 @@ void * decryption_func_bruteforce(void *arg)
if(tab[j] == charset_len)
tab[j] = 0;
}
dfargs->counter++;
}
free(tab);
free(password);
Expand Down

0 comments on commit 89a8735

Please sign in to comment.