disable verification in mtapi5

This commit is contained in:
Vyacheslav Demidyuk
2014-11-18 18:01:32 +02:00
parent 8a1e0a550d
commit 66391301c5
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ bool VerifySignature(System::String^ inputData, System::String^ signature, Syste
return verifyResult;
}
bool g_IsVerified = false;
bool g_IsVerified = true;
void _stdcall verify(int isDemo, wchar_t* accountName, long accountNumber)
{
BIN
View File
Binary file not shown.
+2 -2
View File
@@ -32,7 +32,7 @@
bool getStringValue(int expertHandle, int paramIndex, string& res);
bool getBooleanValue(int expertHandle, int paramIndex, bool& res);
void verify(bool isDemo, string accountName, long accountNumber);
// void verify(bool isDemo, string accountName, long accountNumber);
#import
input string ConnectionProfile = "Local5";
@@ -87,7 +87,7 @@ int init()
{
preinit();
verify(IsDemo(), AccountInfoString(ACCOUNT_NAME), AccountInfoInteger(ACCOUNT_LOGIN));
// verify(IsDemo(), AccountInfoString(ACCOUNT_NAME), AccountInfoInteger(ACCOUNT_LOGIN));
if (TerminalInfoInteger(TERMINAL_DLLS_ALLOWED) == false)
{