added missing exit code to returning outputFlags in decrypter & encrypter

This commit is contained in:
Václav Šmejkal 2022-06-12 16:23:26 +02:00
parent 8c787b5387
commit c7902f5c83
No known key found for this signature in database
GPG Key ID: FD749A97DF2D5E19
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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