Browse Source

Comment on possible use of find_pubkey_alg

Source commit: 1f08bab6f9bc9cc1b60222087d2647aa8fa4d80e
Martin Prikryl 9 years ago
parent
commit
1e2608fec4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      source/core/PuttyIntf.cpp

+ 2 - 0
source/core/PuttyIntf.cpp

@@ -703,6 +703,8 @@ static void __fastcall DoNormalizeFingerprint(UnicodeString & Fingerprint, Unico
 {
   int Count = 0;
   const wchar_t NormalizedSeparator = L'-';
+  // We may use find_pubkey_alg, but it gets complicated with normalized fingerprint
+  // as the names have different number of dashes
   const ssh_signkey ** SignKeys = get_hostkey_algs(&Count);
 
   for (int Index = 0; Index < Count; Index++)