瀏覽代碼

EncryptKeyPlain was not masked out in log

(cherry picked from commit d2b1aa6353490ce26632c871ac83831fa03c28e9)

Source commit: 0e75c8e6a8e92417b62e53f8abf63218582201fc
Martin Prikryl 4 年之前
父節點
當前提交
0c5544a2e1
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      source/core/SessionData.cpp

+ 2 - 1
source/core/SessionData.cpp

@@ -1976,7 +1976,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;