Ver Fonte

Logging passphrase use

Source commit: 0ac34e1d3b083239e55c2012033b5e403d7dded5
Martin Prikryl há 9 anos atrás
pai
commit
c36ea55b2e
1 ficheiros alterados com 2 adições e 2 exclusões
  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)));