Browse Subversion Repository
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ttxssh.c
Parent Directory
| Revision Log
| Patch
| 3982 |
return; |
return; |
| 3983 |
} |
} |
| 3984 |
|
|
| 3985 |
|
static void init_password_control(HWND dlg, int item) |
| 3986 |
|
{ |
| 3987 |
|
HWND passwordControl = GetDlgItem(dlg, item); |
| 3988 |
|
|
| 3989 |
|
SetWindowLong(passwordControl, GWL_USERDATA, |
| 3990 |
|
SetWindowLong(passwordControl, GWL_WNDPROC, |
| 3991 |
|
(LONG) password_wnd_proc)); |
| 3992 |
|
} |
| 3993 |
|
|
| 3994 |
static BOOL CALLBACK TTXKeyGenerator(HWND dlg, UINT msg, WPARAM wParam, |
static BOOL CALLBACK TTXKeyGenerator(HWND dlg, UINT msg, WPARAM wParam, |
| 3995 |
LPARAM lParam) |
LPARAM lParam) |
| 3996 |
{ |
{ |
| 4057 |
DlgHostFont = NULL; |
DlgHostFont = NULL; |
| 4058 |
} |
} |
| 4059 |
|
|
| 4060 |
|
init_password_control(dlg, IDC_KEY_EDIT); |
| 4061 |
|
init_password_control(dlg, IDC_CONFIRM_EDIT); |
| 4062 |
|
|
| 4063 |
// default key type |
// default key type |
| 4064 |
SendMessage(GetDlgItem(dlg, IDC_RSA_TYPE), BM_SETCHECK, BST_CHECKED, 0); |
SendMessage(GetDlgItem(dlg, IDC_RSA_TYPE), BM_SETCHECK, BST_CHECKED, 0); |
| 4065 |
key_type = KEY_RSA; |
key_type = KEY_RSA; |
|
|
Legend:
| Removed from v.4621 |
|
| changed lines |
| |
Added in v.4649 |
|
|
| |