keyNew typo fix

whoops, I replaced keyNew for key (which doesn't have any content at this stage)
This commit is contained in:
Václav Šmejkal 2022-05-26 19:11:52 +02:00
parent 268f7e3db2
commit fd05727b10

View File

@ -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);