added missing flags to inputFlags constructors
This commit is contained in:
parent
df7822975a
commit
5511210d89
@ -26,6 +26,7 @@ typedef struct
|
||||
{
|
||||
unsigned char noCheck; //BOOLEAN FOR SKIPPING VERSION CHECK
|
||||
unsigned char noOutput; //BOOLEAN FOR NOT PRINTING OUTPUT WHEN ENCRYPTING/DECRYPTING
|
||||
unsigned char noUpdate; //BOOLEAN FOR NOT UPDATING YOUR WHY VERSION IF OLD IS USED
|
||||
} inputFlags;
|
||||
|
||||
typedef struct
|
||||
|
@ -5,7 +5,7 @@
|
||||
int main(void)
|
||||
{
|
||||
//RUN ENCRYPTION WITH TEXT_TO_ENCRYPT, GENERATE NEW KEY AND DO NOT CHECK FOR ACTIVE VERSION & PREVENT ANY OUTPUT
|
||||
outputFlags encryptedText = encryptText(TEXT_TO_ENCRYPT, NULL, (inputFlags) {1, 1});
|
||||
outputFlags encryptedText = encryptText(TEXT_TO_ENCRYPT, NULL, (inputFlags) {1, 1, 1});
|
||||
|
||||
//SIMPLE TEXT
|
||||
printf
|
||||
|
@ -7,7 +7,7 @@ unsigned long getKeyLength()
|
||||
|
||||
inputFlags noFlags()
|
||||
{
|
||||
return (inputFlags) {0, 0};
|
||||
return (inputFlags) {0, 0, 0};
|
||||
}
|
||||
|
||||
void setKeyLength(int keyLengthNew)
|
||||
|
@ -17,6 +17,7 @@ int main(void)
|
||||
{
|
||||
0, //SKIP CHECK
|
||||
0, //NO OUTPUT
|
||||
0 //NO UPDATE
|
||||
};
|
||||
|
||||
//SET KEY_LENGTH TO 100
|
||||
|
Loading…
x
Reference in New Issue
Block a user