Преглед на файлове

Comment on possible use of find_pubkey_alg

Source commit: 1f08bab6f9bc9cc1b60222087d2647aa8fa4d80e
Martin Prikryl преди 9 години
родител
ревизия
1e2608fec4
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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++)