Browse Subversion Repository
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ssh.c
Parent Directory
| Revision Log
| Patch
| 1961 |
int remote_id = get_payload_uint32(pvar, 0); |
int remote_id = get_payload_uint32(pvar, 0); |
| 1962 |
int local_id; |
int local_id; |
| 1963 |
|
|
| 1964 |
if (pvar->agentfwd_enable && FWD_agent_forword_confirm(pvar)) { |
if (pvar->agentfwd_enable && FWD_agent_forward_confirm(pvar)) { |
| 1965 |
local_id = FWD_agent_open(pvar, remote_id); |
local_id = FWD_agent_open(pvar, remote_id); |
| 1966 |
if (local_id == -1) { |
if (local_id == -1) { |
| 1967 |
SSH_fail_channel_open(pvar, remote_id); |
SSH_fail_channel_open(pvar, remote_id); |
| 8914 |
c->remote_maxpacket = remote_maxpacket; |
c->remote_maxpacket = remote_maxpacket; |
| 8915 |
|
|
| 8916 |
} else if (strcmp(ctype, "auth-agent@openssh.com") == 0) { // agent forwarding |
} else if (strcmp(ctype, "auth-agent@openssh.com") == 0) { // agent forwarding |
| 8917 |
if (pvar->agentfwd_enable && FWD_agent_forword_confirm(pvar)) { |
if (pvar->agentfwd_enable && FWD_agent_forward_confirm(pvar)) { |
| 8918 |
c = ssh2_channel_new(CHAN_TCP_WINDOW_DEFAULT, CHAN_TCP_PACKET_DEFAULT, TYPE_AGENT, chan_num); |
c = ssh2_channel_new(CHAN_TCP_WINDOW_DEFAULT, CHAN_TCP_PACKET_DEFAULT, TYPE_AGENT, chan_num); |
| 8919 |
if (c == NULL) { |
if (c == NULL) { |
| 8920 |
UTIL_get_lang_msg("MSG_SSH_NO_FREE_CHANNEL", pvar, |
UTIL_get_lang_msg("MSG_SSH_NO_FREE_CHANNEL", pvar, |
|
|
Legend:
| Removed from v.4229 |
|
| changed lines |
| |
Added in v.4233 |
|
|
| |