1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00: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:
Simon Tatham 2016-03-30 11:28:59 +01:00
parent a22e43d3d8
commit 2a47ac3ac5

View File

@ -342,7 +342,7 @@ struct rsa_key_thread_params {
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 *) param;
@ -1025,7 +1025,7 @@ static INT_PTR CALLBACK MainDlgProc(HWND hwnd, UINT msg,
params->key = &state->key;
params->dsskey = &state->dsskey;
if (!CreateThread(NULL, 0, generate_rsa_key_thread,
if (!CreateThread(NULL, 0, generate_key_thread,
params, 0, &threadid)) {
MessageBox(hwnd, "Out of thread resources",
"Key generation error",