This commit is contained in:
Liam Waldron 2023-05-16 13:22:38 -04:00
parent 88a0530ca3
commit 5ab2d05bf4
2 changed files with 4 additions and 2 deletions

View File

@ -12,7 +12,7 @@ checkkey(int argc, char *argv[])
int cnt2 = 0; int cnt2 = 0;
int flg = 0; int flg = 0;
key1 = fopen(argv[1], "r"); key1 = fopen(argv[2], "r");
if (key1 == NULL) { if (key1 == NULL) {
printf("cannot open local first key file\n"); printf("cannot open local first key file\n");
return 1; return 1;
@ -21,7 +21,7 @@ checkkey(int argc, char *argv[])
fseek(key1, 0, SEEK_END); fseek(key1, 0, SEEK_END);
cnt1 = ftell(key1); cnt1 = ftell(key1);
key2 = fopen(argv[2], "r"); key2 = fopen(argv[3], "r");
if (key2 == NULL) { if (key2 == NULL) {
printf("cannot open second key file\n"); printf("cannot open second key file\n");
return 1; return 1;

View File

@ -45,4 +45,6 @@ genkey(int N)
printf(COL_BLUE "%c" COL_RESET, key[count]); printf(COL_BLUE "%c" COL_RESET, key[count]);
} }
} }
printf("\n");
} }