From d6658a8e4f86760a88663801f9e13f39b1cad3d4 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Thu, 9 Jan 2025 18:39:57 +0100 Subject: [PATCH] removed padding error todo --- src/core/lib/encrypter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/lib/encrypter.c b/src/core/lib/encrypter.c index c0ec4b2..5719a65 100644 --- a/src/core/lib/encrypter.c +++ b/src/core/lib/encrypter.c @@ -81,7 +81,7 @@ why2_output_flags why2_encrypt_text(char *text, char *key) } //PADDING - if (why2_get_flags().padding > 0) //TODO! this breaks when used with long strings or byte input + if (why2_get_flags().padding > 0) { why2_list_t split_text = WHY2_LIST_EMPTY; //LIST OF text SPLIT INTO CHARS