浏览代码

Comment on possible use of find_pubkey_alg

Source commit: 1f08bab6f9bc9cc1b60222087d2647aa8fa4d80e
Martin Prikryl 10 年之前
父节点
当前提交
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;
   int Count = 0;
   const wchar_t NormalizedSeparator = L'-';
   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);
   const ssh_signkey ** SignKeys = get_hostkey_algs(&Count);
 
 
   for (int Index = 0; Index < Count; Index++)
   for (int Index = 0; Index < Count; Index++)