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;