scmno****@osdn*****
scmno****@osdn*****
2017年 12月 18日 (月) 19:41:02 JST
Revision: 7001 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/7001 Author: doda Date: 2017-12-18 19:41:02 +0900 (Mon, 18 Dec 2017) Log Message: ----------- Newkeys を SSHKeys に名称変更 SSHKeys の方が実態を表しているので。 Modified Paths: -------------- trunk/ttssh2/ttxssh/kex.c trunk/ttssh2/ttxssh/ssh.c trunk/ttssh2/ttxssh/ssh.h trunk/ttssh2/ttxssh/ttxssh.h -------------- next part -------------- Modified: trunk/ttssh2/ttxssh/kex.c =================================================================== --- trunk/ttssh2/ttxssh/kex.c 2017-12-18 10:40:58 UTC (rev 7000) +++ trunk/ttssh2/ttxssh/kex.c 2017-12-18 10:41:02 UTC (rev 7001) @@ -29,7 +29,7 @@ #include "ttxssh.h" #include "kex.h" -extern Newkeys current_keys[MODE_MAX]; +extern SSHKeys current_keys[MODE_MAX]; static DH *dh_new_group_asc(const char *gen, const char *modulus) { Modified: trunk/ttssh2/ttxssh/ssh.c =================================================================== --- trunk/ttssh2/ttxssh/ssh.c 2017-12-18 10:40:58 UTC (rev 7000) +++ trunk/ttssh2/ttxssh/ssh.c 2017-12-18 10:41:02 UTC (rev 7001) @@ -4081,7 +4081,7 @@ #endif } -Newkeys current_keys[MODE_MAX]; +SSHKeys current_keys[MODE_MAX]; #define write_buffer_file(buf,len) do_write_buffer_file(buf,len,__FILE__,__LINE__) Modified: trunk/ttssh2/ttxssh/ssh.h =================================================================== --- trunk/ttssh2/ttxssh/ssh.h 2017-12-18 10:40:58 UTC (rev 7000) +++ trunk/ttssh2/ttxssh/ssh.h 2017-12-18 10:41:02 UTC (rev 7001) @@ -561,7 +561,7 @@ struct Enc enc; struct Mac mac; struct Comp comp; -} Newkeys; +} SSHKeys; #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) Modified: trunk/ttssh2/ttxssh/ttxssh.h =================================================================== --- trunk/ttssh2/ttxssh/ttxssh.h 2017-12-18 10:40:58 UTC (rev 7000) +++ trunk/ttssh2/ttxssh/ttxssh.h 2017-12-18 10:41:02 UTC (rev 7001) @@ -268,7 +268,7 @@ int rekeying; char *session_id; int session_id_len; - Newkeys ssh2_keys[MODE_MAX]; + SSHKeys ssh2_keys[MODE_MAX]; EVP_CIPHER_CTX evpcip[MODE_MAX]; int userauth_success; int shell_id;