mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05:00
Fix GUI config crash due to missing Ed448.
How embarrassing - this morning's triumphant push of a shiny new public-key method managed to break the entire GUI configuration system so that it dereferences a null pointer during setup. That's what I get for only testing the crypto side. settings.c generates a preference list of host-key enum values that included HK_ED448. So then hklist_handler() in config.c tries to look that id up in its list of names, and doesn't find one, because I forgot to add it there. Now reinstated.
This commit is contained in:
parent
289d8873ec
commit
a82e1da0b7
1
config.c
1
config.c
@ -505,6 +505,7 @@ static void hklist_handler(union control *ctrl, dlgparam *dlg,
|
|||||||
|
|
||||||
static const struct { const char *s; int k; } hks[] = {
|
static const struct { const char *s; int k; } hks[] = {
|
||||||
{ "Ed25519", HK_ED25519 },
|
{ "Ed25519", HK_ED25519 },
|
||||||
|
{ "Ed448", HK_ED448 },
|
||||||
{ "ECDSA", HK_ECDSA },
|
{ "ECDSA", HK_ECDSA },
|
||||||
{ "DSA", HK_DSA },
|
{ "DSA", HK_DSA },
|
||||||
{ "RSA", HK_RSA },
|
{ "RSA", HK_RSA },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user