Browse Source

Validating encrypting key, before connection

Source commit: 3e0ff2ba4bda0301c85479d43ac101ba85233df7
Martin Prikryl 6 years ago
parent
commit
d49a5d6f63
1 changed files with 1 additions and 0 deletions
  1. 1 0
      source/core/Terminal.cpp

+ 1 - 0
source/core/Terminal.cpp

@@ -1142,6 +1142,7 @@ void __fastcall TTerminal::Open()
   try
   {
     FEncryptKey = HexToBytes(FSessionData->EncryptKey);
+    ValidateEncryptKey(FEncryptKey);
 
     DoInformation(L"", true, 1);
     try