diff --git a/src/lib/decrypter.c b/src/lib/decrypter.c index 1b5b093..65408c0 100644 --- a/src/lib/decrypter.c +++ b/src/lib/decrypter.c @@ -19,19 +19,19 @@ outputFlags decryptText(char *text, char *keyNew) gettimeofday(&startTime, NULL); //CHECK FOR ACTIVE VERSION - if ((checkExitCode = checkVersion(getFlags())) != SUCCESS) + if ((checkExitCode = checkVersion()) != SUCCESS) { return noOutput(checkExitCode); } //CHECK FOR INVALID text - if ((checkExitCode = checkText(text, getFlags())) != SUCCESS) + if ((checkExitCode = checkText(text)) != SUCCESS) { return noOutput(checkExitCode); } //CHECK FOR INVALID key - if ((checkExitCode = checkKey(keyNew, getFlags())) != SUCCESS) + if ((checkExitCode = checkKey(keyNew)) != SUCCESS) { return noOutput(checkExitCode); } diff --git a/src/lib/encrypter.c b/src/lib/encrypter.c index 5ee4fec..dfc8d19 100644 --- a/src/lib/encrypter.c +++ b/src/lib/encrypter.c @@ -20,13 +20,13 @@ outputFlags encryptText(char *text, char *keyNew) gettimeofday(&startTime, NULL); //CHECK FOR ACTIVE VERSION - if ((checkExitCode = checkVersion(getFlags())) != SUCCESS) + if ((checkExitCode = checkVersion()) != SUCCESS) { return noOutput(checkExitCode); } //CHECK FOR INVALID text - if ((checkExitCode = checkText(text, getFlags())) != SUCCESS) + if ((checkExitCode = checkText(text)) != SUCCESS) { return noOutput(checkExitCode); } @@ -49,7 +49,7 @@ outputFlags encryptText(char *text, char *keyNew) if (keyNew != NULL) { //CHECK FOR INVALID key - if ((checkExitCode = checkKey(keyNew, getFlags())) != SUCCESS) + if ((checkExitCode = checkKey(keyNew)) != SUCCESS) { return noOutput(checkExitCode); }