Browse Subversion Repository
Diff of /trunk/ttssh2/ttxssh/hosts.c
Parent Directory
| Revision Log
| Patch
| 1457 |
} |
} |
| 1458 |
} |
} |
| 1459 |
|
|
|
static char FAR *copy_mp_int(char FAR * num) |
|
|
{ |
|
|
int len = (get_ushort16_MSBfirst(num) + 7) / 8 + 2; |
|
|
char FAR *result = (char FAR *) malloc(len); |
|
|
|
|
|
if (result != NULL) { |
|
|
memcpy(result, num, len); |
|
|
} |
|
|
|
|
|
return result; |
|
|
} |
|
|
|
|
| 1460 |
// |
// |
| 1461 |
// 同じホストで内容の異なるキーを削除する |
// 同じホストで内容の異なるキーを削除する |
| 1462 |
// add_host_key のあとに呼ぶこと |
// add_host_key のあとに呼ぶこと |
|
|
Legend:
| Removed from v.6145 |
|
| changed lines |
| |
Added in v.6146 |
|
|
|