Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ssh.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4229 by maya, Sat Dec 18 13:04:43 2010 UTC revision 4233 by doda, Sun Dec 19 12:21:29 2010 UTC
# Line 1961  static BOOL handle_agent_open(PTInstVar Line 1961  static BOOL handle_agent_open(PTInstVar
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);
# Line 8914  static BOOL handle_SSH2_channel_open(PTI Line 8914  static BOOL handle_SSH2_channel_open(PTI
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

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26