summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.c b/main.c
index 05eda03..1589c6a 100644
--- a/main.c
+++ b/main.c
@@ -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");
}