Explorar o código

Validating encrypting key, before connection

Source commit: 3e0ff2ba4bda0301c85479d43ac101ba85233df7
Martin Prikryl %!s(int64=6) %!d(string=hai) anos
pai
achega
d49a5d6f63
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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