[Ttssh2-commit] [4302] 変数に変更し忘れていた箇所を修正

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2011年 2月 14日 (月) 12:19:21 JST


Revision: 4302
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4302
Author:   maya
Date:     2011-02-14 12:19:21 +0900 (Mon, 14 Feb 2011)

Log Message:
-----------
変数に変更し忘れていた箇所を修正

Modified Paths:
--------------
    trunk/ttssh2/ttxssh/ssh.c


-------------- next part --------------
Modified: trunk/ttssh2/ttxssh/ssh.c
===================================================================
--- trunk/ttssh2/ttxssh/ssh.c	2011-02-12 06:52:18 UTC (rev 4301)
+++ trunk/ttssh2/ttxssh/ssh.c	2011-02-14 03:19:21 UTC (rev 4302)
@@ -6107,7 +6107,7 @@
 		}
 	}
 
-	if ((ret = key_verify(rsa, dsa, signature, siglen, hash, 20)) != 1) {
+	if ((ret = key_verify(rsa, dsa, signature, siglen, hash, hashlen)) != 1) {
 		if (ret == -3 && rsa != NULL) {
 			if (!pvar->settings.EnableRsaShortKeyServer) {
 				_snprintf_s(emsg_tmp, sizeof(emsg_tmp), _TRUNCATE,



Ttssh2-commit メーリングリストの案内
Back to archive index