svnno****@sourc*****
svnno****@sourc*****
2011年 2月 19日 (土) 17:11:10 JST
Revision: 4323 http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4323 Author: maya Date: 2011-02-19 17:11:10 +0900 (Sat, 19 Feb 2011) Log Message: ----------- 鍵の初期化 Modified Paths: -------------- trunk/ttssh2/ttxssh/hosts.c -------------- next part -------------- Modified: trunk/ttssh2/ttxssh/hosts.c =================================================================== --- trunk/ttssh2/ttxssh/hosts.c 2011-02-19 07:49:51 UTC (rev 4322) +++ trunk/ttssh2/ttxssh/hosts.c 2011-02-19 08:11:10 UTC (rev 4323) @@ -82,6 +82,10 @@ RSA_free(key->rsa); key->rsa = NULL; } + if (key->ecdsa != NULL) { + EC_KEY_free(key->ecdsa); + key->ecdsa = NULL; + } }