implemented flags

This commit is contained in:
Václav Šmejkal 2022-03-08 19:45:56 +01:00
parent 41fd8e0931
commit f7384e598c

View File

@ -6,9 +6,7 @@
#include <time.h> #include <time.h>
#include <math.h> #include <math.h>
#define KEY_LENGTH 50 #include "../include/flags.h"
#define INVALID_KEY 1
char* char*
encryptText(char *text, char *keyNew) encryptText(char *text, char *keyNew)
@ -112,7 +110,7 @@ encryptText(char *text, char *keyNew)
if (i != (sizeof(textKeyChain) / sizeof(int) - 1)) if (i != (sizeof(textKeyChain) / sizeof(int) - 1))
{ {
strcat(returningText, "."); strcat(returningText, ENCRYPTION_SEPARATOR_STRING);
} }
free(textBuffer); free(textBuffer);