diff --git a/src/lib/encrypter.c b/src/lib/encrypter.c index 117e047..92ffdae 100644 --- a/src/lib/encrypter.c +++ b/src/lib/encrypter.c @@ -17,12 +17,12 @@ outputFlags encryptText(char *text, char *keyNew, inputFlags flags) struct timeval finishTime; gettimeofday(&startTime, NULL); - //CHECK FOR INVALID text - checkText(text, flags); - //CHECK FOR ACTIVE VERSION if (!flags.skipCheck) checkVersion(flags); + //CHECK FOR INVALID text + checkText(text, flags); + if (strcmp(text, "") == 0) { if (!flags.noOutput) fprintf(stderr, "No text to encrypt!\n");