From cabd16a63fe31501ee138d41973b13a445147f4a Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sat, 18 Jun 2022 18:26:31 +0200 Subject: [PATCH] changed ENCRYPTION_SEPARATOR from const to var --- include/flags.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/flags.h b/include/flags.h index c92f8a3..7e3c596 100644 --- a/include/flags.h +++ b/include/flags.h @@ -2,8 +2,6 @@ #define WHY2_FLAGS_H //CONSTS -#define ENCRYPTION_SEPARATOR '.' //SEPARATOR BETWEEN KEYS - #define SUCCESS 0 //EXIT CODE FOR SUCCESSFUL RUN #define INVALID_KEY 1 //EXIT VALUE FOR INVALID KEY #define INVALID_TEXT 4 //EXIT VALUE FOR INVALID TEXT @@ -45,7 +43,8 @@ typedef struct } outputFlags; //VARIABLES -static unsigned long keyLength = 50; //LENGTH OF KEY > DO NOT TOUCH THIS, USE setKeyLength() instead < +static char encryptionSeparator = '.'; // > DO NOT TOUCH THIS, USE setEncryptionSeparator instead < +static unsigned long keyLength = 50; //LENGTH OF KEY > DO NOT TOUCH THIS, USE setKeyLength instead < //GETTERS unsigned long getKeyLength();