Develop and Download Open Source Software
Login
Create Account
Help
MY OSDN
Find Software
Magazine
Develop
Pastebin
Software
People
PersonalForge
Magazine
Wiki
OSDN
>
Find Software
>
Tera Term
Tera Term
Summary
Project Summary
Developer Dashboard
Project Reviews
Web Page
Developers
List of RSS Feeds
Statistics
History
Image Gallery
Search Keywords
News
Listed News
Help
Downloads
List of Releases
Help
Source Code
Guide
Browse CVS
Browse SVN
Help
Wiki
FrontPage
Title index
Recent changes
Wiki Search
Help
Docs
List Docs
Help
Forums
List of Forums
Open Discussion (173)
Help (428)
Help
Mailing Lists
list of ML
ttssh2-commit
ttssh2-dev
ttssh2-users
Help
Ticket
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Help
Browse Subversion Repository
/
[ttssh2]
/
branches
/
ssh_chacha20poly1305
/
ttssh2
/
ttxssh
/
ssh.c
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ssh.c
Parent Directory
|
Revision Log
|
Patch
revision
4490
by
yutakapon
, Wed Jun 8 12:04:57 2011 UTC
revision
4492
by
yutakapon
, Thu Jun 9 15:25:43 2011 UTC
#
Line 1097
static void finish_send_packet_special(P
Line 1097
static void finish_send_packet_special(P
1097
set_uint32(data, encryption_size - 4);
set_uint32(data, encryption_size - 4);
1098
data[4] = (unsigned char) padding;
data[4] = (unsigned char) padding;
1099
data_length = encryption_size + CRYPT_get_sender_MAC_size(pvar);
data_length = encryption_size + CRYPT_get_sender_MAC_size(pvar);
1100
if (msg) {
1101
// パケット圧縮の場合、バッファを拡張する。(2011.6.10 yutaka)
1102
buffer_append_space(msg, padding + EVP_MAX_MD_SIZE);
1103
}
1104
#endif
#endif
1105
//if (pvar->ssh_state.outbuflen <= 7 + data_length) *(int *)0 = 0;
//if (pvar->ssh_state.outbuflen <= 7 + data_length) *(int *)0 = 0;
1106
CRYPT_set_random_data(pvar, data + 5 + len, padding);
CRYPT_set_random_data(pvar, data + 5 + len, padding);
Colored Diff
Long Colored Diff
Full Colored Diff
Unidiff
Context Diff
Side by Side
Legend:
Removed from v.4490
changed lines
Added in v.4492
Back to OSDN
">
Back to OSDN
ViewVC Help
Powered by
ViewVC 1.1.26