fix issues with ecrypt_check
This commit is contained in:
parent
f474115853
commit
1f059adb26
@ -74,6 +74,9 @@ ecrypt_check(char *firstkey, char *secondkey)
|
|||||||
fseek(key2, 0, SEEK_END);
|
fseek(key2, 0, SEEK_END);
|
||||||
cnt1 = ftell(key2);
|
cnt1 = ftell(key2);
|
||||||
|
|
||||||
|
fseek(key1, 0, SEEK_SET);
|
||||||
|
fseek(key2, 0, SEEK_SET);
|
||||||
|
|
||||||
if (cnt1 != cnt2) {
|
if (cnt1 != cnt2) {
|
||||||
printf("no match\n");
|
printf("no match\n");
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user