浏览代码

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
   try
   {
   {
     FEncryptKey = HexToBytes(FSessionData->EncryptKey);
     FEncryptKey = HexToBytes(FSessionData->EncryptKey);
+    ValidateEncryptKey(FEncryptKey);
 
 
     DoInformation(L"", true, 1);
     DoInformation(L"", true, 1);
     try
     try