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 5850 by yutakapon, Wed May 6 15:57:02 2015 UTC revision 5853 by yutakapon, Thu May 7 16:38:03 2015 UTC
# Line 132  static void client_init_global_confirm(v Line 132  static void client_init_global_confirm(v
132          global_confirms.ref_count = 0;          global_confirms.ref_count = 0;
133  }  }
134    
135  void client_register_global_confirm(global_confirm_cb *cb, void *ctx)  void client_register_global_confirm(global_confirm_cb *cb, void *ctx)
136  {  {
137          struct global_confirm *gc = &global_confirms;          struct global_confirm *gc = &global_confirms;
138    
# Line 143  void client_register_global_confirm(glob Line 143  void client_register_global_confirm(glob
143          }          }
144  }  }
145    
146  static int client_global_request_reply(PTInstVar pvar, int type, unsigned int seq, void *ctxt)  static int client_global_request_reply(PTInstVar pvar, int type, unsigned int seq, void *ctxt)
147  {  {
148          struct global_confirm *gc = &global_confirms;          struct global_confirm *gc = &global_confirms;
149    
150          if (gc->ref_count >= 1) {          if (gc->ref_count >= 1) {
# Line 154  static int client_global_request_reply(P Line 154  static int client_global_request_reply(P
154          }          }
155    
156          return 0;          return 0;
157  }  }
158    
159  //  //
160  // channel function  // channel function

Legend:
Removed from v.5850  
changed lines
  Added in v.5853

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