1
0
Эх сурвалжийг харах

EncryptKeyPlain was not masked out in log

Source commit: 6f85ebd61e260cf7dc16cdfdd25b3f01cf06a892
Martin Prikryl 4 жил өмнө
parent
commit
d2b1aa6353

+ 2 - 1
source/core/SessionData.cpp

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