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

Typo in comment

Source commit: ed424dcfc5381478780fe1cbd14a6ad686182b31
Martin Prikryl 8 жил өмнө
parent
commit
62979354ad

+ 1 - 1
source/core/SecureShell.cpp

@@ -2191,7 +2191,7 @@ void __fastcall TSecureShell::VerifyHostKey(UnicodeString Host, int Port,
     UnicodeString StoredKey = CutToChar(Buf, HostKeyDelimiter, false);
     UnicodeString StoredKey = CutToChar(Buf, HostKeyDelimiter, false);
     // skip leading ECDH subtype identification
     // skip leading ECDH subtype identification
     int P = StoredKey.Pos(L",");
     int P = StoredKey.Pos(L",");
-    // start from beginning or after the comma, if there 's any
+    // start from beginning or after the comma, if there's any
     bool Fingerprint = (StoredKey.SubString(P + 1, 2) != L"0x");
     bool Fingerprint = (StoredKey.SubString(P + 1, 2) != L"0x");
     // it's probably a fingerprint (stored by TSessionData::CacheHostKey)
     // it's probably a fingerprint (stored by TSessionData::CacheHostKey)
     UnicodeString NormalizedExpectedKey;
     UnicodeString NormalizedExpectedKey;