svnno****@sourc*****
svnno****@sourc*****
2011年 4月 11日 (月) 09:42:31 JST
Revision: 4434 http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4434 Author: doda Date: 2011-04-11 09:42:31 +0900 (Mon, 11 Apr 2011) Log Message: ----------- 動作確認が取れたので、優先度を上げた。 Modified Paths: -------------- trunk/ttssh2/ttxssh/ttxssh.c -------------- next part -------------- Modified: trunk/ttssh2/ttxssh/ttxssh.c =================================================================== --- trunk/ttssh2/ttxssh/ttxssh.c 2011-04-11 00:29:12 UTC (rev 4433) +++ trunk/ttssh2/ttxssh/ttxssh.c 2011-04-11 00:42:31 UTC (rev 4434) @@ -306,18 +306,20 @@ static void normalize_mac_order(char FAR * buf) { static char default_strings[] = { +#ifdef HMAC_SHA2_DRAFT // HMAC-SHA2 support + HMAC_SHA2_512, + HMAC_SHA2_256, +#endif // HMAC-SHA2 support HMAC_SHA1, HMAC_RIPEMD160, HMAC_MD5, HMAC_NONE, - HMAC_SHA1_96, - HMAC_MD5_96, #ifdef HMAC_SHA2_DRAFT // HMAC-SHA2 support - HMAC_SHA2_256, + HMAC_SHA2_512_96, HMAC_SHA2_256_96, - HMAC_SHA2_512, - HMAC_SHA2_512_96, #endif // HMAC-SHA2 support + HMAC_SHA1_96, + HMAC_MD5_96, }; normalize_generic_order(buf, default_strings, NUM_ELEM(default_strings));