mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 06:38:37 -05:00
Cleanup: rename Windows PuTTYgen's key generation function.
It's been a generation function for keys in general for yonks, not just RSA keys specifically.
This commit is contained in:
parent
a22e43d3d8
commit
2a47ac3ac5
@ -342,7 +342,7 @@ struct rsa_key_thread_params {
|
|||||||
struct ec_key *eckey;
|
struct ec_key *eckey;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
static DWORD WINAPI generate_rsa_key_thread(void *param)
|
static DWORD WINAPI generate_key_thread(void *param)
|
||||||
{
|
{
|
||||||
struct rsa_key_thread_params *params =
|
struct rsa_key_thread_params *params =
|
||||||
(struct rsa_key_thread_params *) param;
|
(struct rsa_key_thread_params *) param;
|
||||||
@ -1025,7 +1025,7 @@ static INT_PTR CALLBACK MainDlgProc(HWND hwnd, UINT msg,
|
|||||||
params->key = &state->key;
|
params->key = &state->key;
|
||||||
params->dsskey = &state->dsskey;
|
params->dsskey = &state->dsskey;
|
||||||
|
|
||||||
if (!CreateThread(NULL, 0, generate_rsa_key_thread,
|
if (!CreateThread(NULL, 0, generate_key_thread,
|
||||||
params, 0, &threadid)) {
|
params, 0, &threadid)) {
|
||||||
MessageBox(hwnd, "Out of thread resources",
|
MessageBox(hwnd, "Out of thread resources",
|
||||||
"Key generation error",
|
"Key generation error",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user