svnno****@sourc*****
svnno****@sourc*****
2011年 7月 27日 (水) 23:25:26 JST
Revision: 4542 http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4542 Author: doda Date: 2011-07-27 23:25:26 +0900 (Wed, 27 Jul 2011) Log Message: ----------- /nosecuritywarning æ㯠SSHFP æ¤è¨¼ããã¦ãç¡é§ãªã®ã§ãæ¤è¨¼ããã¿ã¤ãã³ã°ãå¤æ´ã Modified Paths: -------------- trunk/ttssh2/ttxssh/hosts.c -------------- next part -------------- Modified: trunk/ttssh2/ttxssh/hosts.c =================================================================== --- trunk/ttssh2/ttxssh/hosts.c 2011-07-27 14:13:46 UTC (rev 4541) +++ trunk/ttssh2/ttxssh/hosts.c 2011-07-27 14:25:26 UTC (rev 4542) @@ -1777,12 +1777,6 @@ finish_read_host_files(pvar, 0); } - if (pvar->settings.VerifyHostKeyDNS) { - if (!is_numeric_hostname(hostname)) { - dns_sshfp_check = verify_hostkey_dns(hostname, key); - } - } - // known_hosts ɶݵȢL[Í ÆÅt@CÖ«Þ½ßÉA±±ÅÛ¶µÄ¨B pvar->hosts_state.hostkey.type = key->type; switch (key->type) { @@ -1811,6 +1805,10 @@ return TRUE; } + if (pvar->settings.VerifyHostKeyDNS && !is_numeric_hostname(hostname)) { + dns_sshfp_check = verify_hostkey_dns(hostname, key); + } + // known_hosts_CAOͯúIÉ\¦³¹A±Ì_ɨ¢Ä[UÉmF // ³¹éKvª é½ßA¼ÚR[ÉÏX·éB // ±êÉæèknown_hostsÌmFðÒ½¸ÉAT[oÖ[UîñðÁĵܤâèðñð·éB