Browse Subversion Repository
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ssh.c
Parent Directory
| Revision Log
| Patch
| 133 |
static void ssh2_scp_free_packetlist(Channel_t *c); |
static void ssh2_scp_free_packetlist(Channel_t *c); |
| 134 |
static void get_window_pixel_size(PTInstVar pvar, int *x, int *y); |
static void get_window_pixel_size(PTInstVar pvar, int *x, int *y); |
| 135 |
|
|
| 136 |
|
// マクロ |
| 137 |
|
#define remained_payload(pvar) ((pvar)->ssh_state.payload + payload_current_offset(pvar)) |
| 138 |
|
#define remained_payloadlen(pvar) ((pvar)->ssh_state.payloadlen - (pvar)->ssh_state.payload_grabbed) |
| 139 |
|
#define payload_current_offset(pvar) ((pvar)->ssh_state.payload_grabbed - 1) |
| 140 |
|
|
| 141 |
// |
// |
| 142 |
// Global request confirm |
// Global request confirm |
| 143 |
// |
// |
| 4850 |
SSH2_send_kexinit(pvar); |
SSH2_send_kexinit(pvar); |
| 4851 |
} |
} |
| 4852 |
|
|
| 4853 |
data = pvar->ssh_state.payload; |
data = remained_payload(pvar); |
| 4854 |
len = pvar->ssh_state.payloadlen - 1; |
len = remained_payloadlen(pvar); |
| 4855 |
|
|
| 4856 |
// KEX の最後で hash (session-id) を計算するのに使うので保存しておく |
// KEX の最後で hash (session-id) を計算するのに使うので保存しておく |
| 4857 |
if (pvar->peer_kex != NULL) { |
if (pvar->peer_kex != NULL) { |
|
|
Legend:
| Removed from v.7018 |
|
| changed lines |
| |
Added in v.7019 |
|
|
|