Browse Subversion Repository
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/auth.c
Parent Directory
| Revision Log
| Patch
| 1495 |
else if (pvar->auth_state.cur_cred.method == SSH_AUTH_PAGEANT) { |
else if (pvar->auth_state.cur_cred.method == SSH_AUTH_PAGEANT) { |
| 1496 |
int len = get_uint32_MSBfirst(pvar->pageant_curkey + 4); |
int len = get_uint32_MSBfirst(pvar->pageant_curkey + 4); |
| 1497 |
char *s = (char *)malloc(len+1); |
char *s = (char *)malloc(len+1); |
| 1498 |
enum ssh_keytype keytype; |
ssh_keytype keytype; |
| 1499 |
|
|
| 1500 |
memcpy(s, pvar->pageant_curkey+4+4, len); |
memcpy(s, pvar->pageant_curkey+4+4, len); |
| 1501 |
s[len] = '\0'; |
s[len] = '\0'; |
|
|
Legend:
| Removed from v.4324 |
|
| changed lines |
| |
Added in v.4378 |
|
|
|