瀏覽代碼

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++)