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
2933
by
maya
, Sat Nov 18 01:29:29 2006 UTC
revision
2935
by
maya
, Sun Nov 19 14:23:30 2006 UTC
#
Line 4481
static int ssh_rsa_verify(RSA *key, u_ch
Line 4481
static int ssh_rsa_verify(RSA *key, u_ch
4481
ptr = signature;
ptr = signature;
4482
4483
// step1
// step1
4484
if (signaturelen == 0x28) {
len = get_uint32_MSBfirst(ptr);
4485
// workaround for SSH-2.0-2.0* and SSH-2.0-2.1* (2006.11.18 maya)
ptr += 4;
4486
ptr -= 4;
if (strncmp("ssh-rsa", ptr, len) != 0) {
4487
}
return -4;
else {
len = get_uint32_MSBfirst(ptr);
ptr += 4;
if (strncmp("ssh-rsa", ptr, len) != 0) {
return -4;
}
ptr += len;
4488
}
}
4489
ptr += len;
4490
4491
// step2
// step2
4492
len = get_uint32_MSBfirst(ptr);
len = get_uint32_MSBfirst(ptr);
#
Line 6980
static BOOL handle_SSH2_window_adjust(PT
Line 6974
static BOOL handle_SSH2_window_adjust(PT
6974
6975
/*
/*
6976
* $Log: not supported by cvs2svn $
* $Log: not supported by cvs2svn $
6977
* Revision 1.62 2006/11/18 01:29:29 maya
6978
* SSH-2.0-2.0*, SSH-2.0-2.1* サーバのバグに対する workaround を改良した。
6979
*
6980
* Revision 1.61 2006/11/17 09:12:02 maya
* Revision 1.61 2006/11/17 09:12:02 maya
6981
* SSH-2.0-2.0*, SSH-2.0-2.1* サーバのバグに対する workaround を追加した。
* SSH-2.0-2.0*, SSH-2.0-2.1* サーバのバグに対する workaround を追加した。
6982
* バージョンチェックをせずにデータだけで判断しているので、改良の余地あり。
* バージョンチェックをせずにデータだけで判断しているので、改良の余地あり。
Colored Diff
Long Colored Diff
Full Colored Diff
Unidiff
Context Diff
Side by Side
Legend:
Removed from v.2933
changed lines
Added in v.2935
Back to OSDN
">
Back to OSDN
ViewVC Help
Powered by
ViewVC 1.1.26