diff options
author | Keuin <[email protected]> | 2022-05-28 03:12:03 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-05-28 03:12:34 +0800 |
commit | 2718019bef355092a2f5e10f33c6002a1c261c2b (patch) | |
tree | 2b152ce585a6f81b7931be9563c4baec499a3c93 /main.c | |
parent | 382a32ae03eac509149c225e66ed745d1d132b22 (diff) |
Bugfix: if program is not configured to save the decrypted photo, it will say 'KEY WAS NOT FOUND'.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -393,7 +393,9 @@ int main(int argc, char *argv[]) { fclose(fout); printf("Flash photo has been saved in: %s\n", plaintext_save_path); - } else { + } + + if (crack_result.plaintext == NULL) { printf("[-] KEY WAS NOT FOUND.\n"); } |