"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "windows/winpgen.c" between
putty-0.75.tar.gz and putty-0.76.tar.gz

About: PuTTY is a free implementation of Telnet and SSH for Windows and Unix platforms, along with an xterm terminal emulator.

winpgen.c  (putty-0.75):winpgen.c  (putty-0.76)
skipping to change at line 1163 skipping to change at line 1163
params->progressbar = GetDlgItem(hwnd, IDC_PROGRESS); params->progressbar = GetDlgItem(hwnd, IDC_PROGRESS);
params->dialog = hwnd; params->dialog = hwnd;
params->key_bits = state->key_bits; params->key_bits = state->key_bits;
params->curve_bits = state->curve_bits; params->curve_bits = state->curve_bits;
params->keytype = state->keytype; params->keytype = state->keytype;
params->primepolicy = state->primepolicy; params->primepolicy = state->primepolicy;
params->rsa_strong = state->rsa_strong; params->rsa_strong = state->rsa_strong;
params->key = &state->key; params->key = &state->key;
params->dsskey = &state->dsskey; params->dsskey = &state->dsskey;
if (!CreateThread(NULL, 0, generate_key_thread, HANDLE hThread = CreateThread(NULL, 0, generate_key_thread,
params, 0, &threadid)) { params, 0, &threadid);
if (!hThread) {
MessageBox(hwnd, "Out of thread resources", MessageBox(hwnd, "Out of thread resources",
"Key generation error", "Key generation error",
MB_OK | MB_ICONERROR); MB_OK | MB_ICONERROR);
sfree(params); sfree(params);
} else { } else {
CloseHandle(hThread); /* we don't need the thread handle */
state->generation_thread_exists = true; state->generation_thread_exists = true;
} }
} }
/* /*
* Dialog-box function for the main PuTTYgen dialog box. * Dialog-box function for the main PuTTYgen dialog box.
*/ */
static INT_PTR CALLBACK MainDlgProc(HWND hwnd, UINT msg, static INT_PTR CALLBACK MainDlgProc(HWND hwnd, UINT msg,
WPARAM wParam, LPARAM lParam) WPARAM wParam, LPARAM lParam)
{ {
 End of changes. 2 change blocks. 
2 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)