added missing exit code to returning outputFlags in decrypter & encrypter
This commit is contained in:
parent
8c787b5387
commit
c7902f5c83
@ -110,7 +110,8 @@ outputFlags decryptText(char *text, char *keyNew, inputFlags flags)
|
|||||||
returningText, //DECRYPTED TEXT
|
returningText, //DECRYPTED TEXT
|
||||||
key, //USED KEY
|
key, //USED KEY
|
||||||
countUnusedKeySize(returningText, key), // NUMBER OF UNUSED CHARS IN KEY
|
countUnusedKeySize(returningText, key), // NUMBER OF UNUSED CHARS IN KEY
|
||||||
compareTimeMicro(startTime, finishTime) // ELAPSED TIME
|
compareTimeMicro(startTime, finishTime), // ELAPSED TIME
|
||||||
|
SUCCESS //EXIT CODE
|
||||||
};
|
};
|
||||||
|
|
||||||
//DEALLOCATION
|
//DEALLOCATION
|
||||||
|
@ -130,7 +130,8 @@ outputFlags encryptText(char *text, char *keyNew, inputFlags flags)
|
|||||||
returningText, //ENCRYPTED TEXT
|
returningText, //ENCRYPTED TEXT
|
||||||
key, //GENERATED/USED KEY
|
key, //GENERATED/USED KEY
|
||||||
countUnusedKeySize(text, key), // NUMBER OF UNUSED CHARS IN KEY
|
countUnusedKeySize(text, key), // NUMBER OF UNUSED CHARS IN KEY
|
||||||
compareTimeMicro(startTime, finishTime) // ELAPSED TIME
|
compareTimeMicro(startTime, finishTime), // ELAPSED TIME
|
||||||
|
SUCCESS //EXIT CODE
|
||||||
};
|
};
|
||||||
|
|
||||||
//DEALLOCATION
|
//DEALLOCATION
|
||||||
|
Loading…
x
Reference in New Issue
Block a user