浏览代码

EncryptKeyPlain was not masked out in log

Source commit: 6f85ebd61e260cf7dc16cdfdd25b3f01cf06a892
Martin Prikryl 4 年之前
父节点
当前提交
d2b1aa6353
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      source/core/SessionData.cpp

+ 2 - 1
source/core/SessionData.cpp

@@ -1978,7 +1978,8 @@ bool __fastcall TSessionData::MaskPasswordInOptionParameter(const UnicodeString
           SameText(Key, L"TunnelPasswordPlain") ||
           SameText(Key, L"TunnelPassphrase") ||
           SameText(Key, L"TunnelPassphrasePlain") ||
-          SameText(Key, L"EncryptKey"))
+          SameText(Key, L"EncryptKey") ||
+          SameText(Key, L"EncryptKeyPlain"))
       {
         Param = Key + L"=" + PasswordMask;
         Result = true;