implemeted skipCheck
This commit is contained in:
parent
c5dca2c782
commit
b3e444e2d9
@ -16,7 +16,7 @@
|
|||||||
void
|
void
|
||||||
checkVersion()
|
checkVersion()
|
||||||
{
|
{
|
||||||
if (SKIP_CHECK) return;
|
if (getSkipCheck()) return;
|
||||||
|
|
||||||
//FILE-CHECK VARIABLES
|
//FILE-CHECK VARIABLES
|
||||||
int notFoundBuffer = 0;
|
int notFoundBuffer = 0;
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
#include <why2/encrypter.h>
|
#include <why2/encrypter.h>
|
||||||
#include <why2/decrypter.h>
|
#include <why2/decrypter.h>
|
||||||
|
#include <why2/flags.h>
|
||||||
|
|
||||||
#define TEST_TEXT "Pepa smrdí."
|
#define TEST_TEXT "Pepa smrdí."
|
||||||
#define TEST_KEY "lZwOBFvjJEmaYRIaKsALKLkSeJvXhFPbZIRNFbjQRNyiOuLTexhgOpObHzyQgNT"
|
#define TEST_KEY "lZwOBFvjJEmaYRIaKsALKLkSeJvXhFPbZIRNFbjQRNyiOuLTexhgOpObHzyQgNT"
|
||||||
@ -13,8 +14,7 @@ main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
if (argc == 2 && strcmp(argv[1], "skipCheck") == 0)
|
if (argc == 2 && strcmp(argv[1], "skipCheck") == 0)
|
||||||
{
|
{
|
||||||
#undef SKIP_CHECK
|
setSkipCheck(1);
|
||||||
#define SKIP_CHECK 0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
char *text = encryptText(TEST_TEXT, TEST_KEY);
|
char *text = encryptText(TEST_TEXT, TEST_KEY);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user