From f7384e598c37612fd08d403a86dfb9db30eca1c4 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Tue, 8 Mar 2022 19:45:56 +0100 Subject: [PATCH] implemented flags --- src/encrypter.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/encrypter.c b/src/encrypter.c index eebdee5..a51730a 100644 --- a/src/encrypter.c +++ b/src/encrypter.c @@ -6,9 +6,7 @@ #include #include -#define KEY_LENGTH 50 - -#define INVALID_KEY 1 +#include "../include/flags.h" char* encryptText(char *text, char *keyNew) @@ -112,7 +110,7 @@ encryptText(char *text, char *keyNew) if (i != (sizeof(textKeyChain) / sizeof(int) - 1)) { - strcat(returningText, "."); + strcat(returningText, ENCRYPTION_SEPARATOR_STRING); } free(textBuffer);