svnno****@sourc*****
svnno****@sourc*****
2015年 11月 14日 (土) 16:55:18 JST
Revision: 6129 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6129 Author: maya Date: 2015-11-14 16:55:18 +0900 (Sat, 14 Nov 2015) Log Message: ----------- SSH key fingerprint の hex 形式の末尾処理のバグを修正 r6120 で混入 Revision Links: -------------- http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6120 Modified Paths: -------------- trunk/ttssh2/ttxssh/key.c -------------- next part -------------- Modified: trunk/ttssh2/ttxssh/key.c =================================================================== --- trunk/ttssh2/ttxssh/key.c 2015-11-13 15:05:01 UTC (rev 6128) +++ trunk/ttssh2/ttxssh/key.c 2015-11-14 07:55:18 UTC (rev 6129) @@ -723,7 +723,7 @@ } /* Remove the trailing ':' character */ - retval[(dgst_raw_len * 3) - 1] = '\0'; + retval[retval_len - 2] = '\0'; return (retval); }