浏览代码

Logging passphrase use

Source commit: 0ac34e1d3b083239e55c2012033b5e403d7dded5
Martin Prikryl 9 年之前
父节点
当前提交
c36ea55b2e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      source/core/SessionInfo.cpp

+ 2 - 2
source/core/SessionInfo.cpp

@@ -1068,9 +1068,9 @@ void __fastcall TSessionLog::DoAddStartupInfo(TSessionData * Data)
     {
       ADF(L"Session name: %s (%s)", (Data->SessionName, Data->Source));
       ADF(L"Host name: %s (Port: %d)", (Data->HostNameExpanded, Data->PortNumber));
-      ADF(L"User name: %s (Password: %s, Key file: %s)",
+      ADF(L"User name: %s (Password: %s, Key file: %s, Passphrase: %s)",
         (Data->UserNameExpanded, LogSensitive(Data->Password),
-         LogSensitive(Data->PublicKeyFile)));
+         LogSensitive(Data->PublicKeyFile), LogSensitive(Data->Passphrase)));
       if (Data->UsesSsh)
       {
         ADF(L"Tunnel: %s", (BooleanToEngStr(Data->Tunnel)));