diff --git a/src/lib/encrypter.c b/src/lib/encrypter.c index be5af56..e2e207f 100644 --- a/src/lib/encrypter.c +++ b/src/lib/encrypter.c @@ -29,7 +29,7 @@ outputFlags encryptText(char *text, char *keyNew, inputFlags flags) if (keyNew != NULL) { - checkKey(key, flags); //CHECK FOR INVALID key + checkKey(keyNew, flags); //CHECK FOR INVALID key strcpy(key, keyNew);