From 5cc04d94b7708979a0b46689d91db2d54cf8f644 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Wed, 20 Nov 2024 21:40:48 +0100 Subject: [PATCH] renamed encrypter's key_new to key haha stupid old me was lazy af --- include/encrypter.h | 2 +- src/core/lib/encrypter.c | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/include/encrypter.h b/include/encrypter.h index b0b25e2..e4bb4c5 100644 --- a/include/encrypter.h +++ b/include/encrypter.h @@ -25,7 +25,7 @@ extern "C" { #include -why2_output_flags why2_encrypt_text(char *text, char *key_new); //TEXT from WILL BE ENCRYPTED WITH KEY AND RETURNED +why2_output_flags why2_encrypt_text(char *text, char *key); //TEXT from WILL BE ENCRYPTED WITH key AND RETURNED #ifdef __cplusplus } diff --git a/src/core/lib/encrypter.c b/src/core/lib/encrypter.c index 5029f1c..cd1441a 100644 --- a/src/core/lib/encrypter.c +++ b/src/core/lib/encrypter.c @@ -19,14 +19,18 @@ along with this program. If not, see . #include #include +#include #include #include +#include +#include #include +#include #include #include -why2_output_flags why2_encrypt_text(char *text, char *key_new) +why2_output_flags why2_encrypt_text(char *text, char *key) { //CHECK VARIABLE unsigned char check_exit_code;