From 637ee2b8422693104c5578c6f770a15b4d7db891 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Mon, 30 May 2022 18:04:24 +0200 Subject: [PATCH] fixed invalid unusedKeySize I put wrong variable as parameter --- src/lib/decrypter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/decrypter.c b/src/lib/decrypter.c index 285059c..b5e4e00 100644 --- a/src/lib/decrypter.c +++ b/src/lib/decrypter.c @@ -97,7 +97,7 @@ outputFlags decryptText(char *text, char *keyNew, inputFlags flags) { returningText, //DECRYPTED TEXT key, //USED KEY - countUnusedKeySize(text, key) + countUnusedKeySize(returningText, key) }; //DEALLOCATION