renamed encrypter's key_new to key

haha stupid old me was lazy af
This commit is contained in:
Václav Šmejkal 2024-11-20 21:40:48 +01:00
parent f95608f52a
commit 5cc04d94b7
Signed by: ENGO150
GPG Key ID: 4A57E86482968843
2 changed files with 6 additions and 2 deletions

View File

@ -25,7 +25,7 @@ extern "C" {
#include <why2/flags.h> #include <why2/flags.h>
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 #ifdef __cplusplus
} }

View File

@ -19,14 +19,18 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
#include <why2/encrypter.h> #include <why2/encrypter.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h> #include <string.h>
#include <sys/time.h> #include <sys/time.h>
#include <limits.h>
#include <why2/crypto.h>
#include <why2/flags.h> #include <why2/flags.h>
#include <why2/llist.h>
#include <why2/memory.h> #include <why2/memory.h>
#include <why2/misc.h> #include <why2/misc.h>
why2_output_flags why2_encrypt_text(char *text, char *key_new) why2_output_flags why2_encrypt_text(char *text, char *key)
{ {
//CHECK VARIABLE //CHECK VARIABLE
unsigned char check_exit_code; unsigned char check_exit_code;