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 4494 by yutakapon, Sun Jun 12 11:34:56 2011 UTC revision 4495 by yutakapon, Sun Jun 12 16:19:27 2011 UTC
# Line 1100  static void finish_send_packet_special(P Line 1100  static void finish_send_packet_special(P
1100                  if (msg) {                  if (msg) {
1101                          // パケット圧縮の場合、バッファを拡張する。(2011.6.10 yutaka)                          // パケット圧縮の場合、バッファを拡張する。(2011.6.10 yutaka)
1102                          buffer_append_space(msg, padding + EVP_MAX_MD_SIZE);                          buffer_append_space(msg, padding + EVP_MAX_MD_SIZE);
1103                            // realloc()されると、ポインタが変わる可能性があるので、再度取り直す。
1104                            data = buffer_ptr(msg);
1105                  }                  }
1106  #endif  #endif
1107                  //if (pvar->ssh_state.outbuflen <= 7 + data_length) *(int *)0 = 0;                  //if (pvar->ssh_state.outbuflen <= 7 + data_length) *(int *)0 = 0;
# Line 7538  static unsigned __stdcall ssh_scp_thread Line 7540  static unsigned __stdcall ssh_scp_thread
7540          if (pvar->ts_SSH->CompressionLevel == 0) {          if (pvar->ts_SSH->CompressionLevel == 0) {
7541                  buflen = 8192*4;                  buflen = 8192*4;
7542          } else {          } else {
7543                  buflen = 1024;                  buflen = 8192*4;
7544          }          }
7545          buf = malloc(buflen);          buf = malloc(buflen);
7546    

Legend:
Removed from v.4494  
changed lines
  Added in v.4495

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