瀏覽代碼

Validating encrypting key, before connection

Source commit: 3e0ff2ba4bda0301c85479d43ac101ba85233df7
Martin Prikryl 6 年之前
父節點
當前提交
d49a5d6f63
共有 1 個文件被更改,包括 1 次插入0 次删除
  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