Bläddra i källkod

Bug fix: Setting hidden raw session settings for Configurable priority of host key types (Bug 1562) overrides host key.

Source commit: ff58ab8de940432c6a2da0007ead99b64b0def52
Martin Prikryl 7 år sedan
förälder
incheckning
f2678ef3d3
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      source/core/SessionData.cpp

+ 1 - 1
source/core/SessionData.cpp

@@ -545,7 +545,7 @@ void __fastcall TSessionData::DoLoad(THierarchicalStorage * Storage, bool PuttyI
       FPassword = Storage->ReadStringAsBinaryData(L"Password", FPassword);
     }
   }
-  HostKey = Storage->ReadString(L"HostKey", HostKey);
+  HostKey = Storage->ReadString(L"SshHostKey", HostKey); // probably never used
   Note = Storage->ReadString(L"Note", Note);
   // Putty uses PingIntervalSecs
   int PingIntervalSecs = Storage->ReadInteger(L"PingIntervalSecs", -1);