Explorar o código

EncryptKeyPlain was not masked out in log

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