From 8cddd8ee30713441f37c71dd7b98c283ac484a65 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Wed, 8 Jun 2022 19:27:55 +0200 Subject: [PATCH] removed unused check for using checkVersion --- src/lib/decrypter.c | 2 +- src/lib/encrypter.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/decrypter.c b/src/lib/decrypter.c index 3b0110c..ec5b205 100644 --- a/src/lib/decrypter.c +++ b/src/lib/decrypter.c @@ -16,7 +16,7 @@ outputFlags decryptText(char *text, char *keyNew, inputFlags flags) gettimeofday(&startTime, NULL); //CHECK FOR ACTIVE VERSION - if (!flags.noCheck) checkVersion(flags); + checkVersion(flags); //CHECK FOR INVALID text checkText(text, flags); diff --git a/src/lib/encrypter.c b/src/lib/encrypter.c index adb6ccd..446b510 100644 --- a/src/lib/encrypter.c +++ b/src/lib/encrypter.c @@ -18,7 +18,7 @@ outputFlags encryptText(char *text, char *keyNew, inputFlags flags) gettimeofday(&startTime, NULL); //CHECK FOR ACTIVE VERSION - if (!flags.noCheck) checkVersion(flags); + checkVersion(flags); //CHECK FOR INVALID text checkText(text, flags);