X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/f382c87d3cc301abe6c3670f70bb79b6915c2e91..94042edc7e0f99a2265e765606c45ea4f4f2e62e:/config.c diff --git a/config.c b/config.c index 2e3822ac..8250e1c4 100644 --- a/config.c +++ b/config.c @@ -718,7 +718,7 @@ static void portfwd_handler(union control *ctrl, void *dlg, str[i++] = type; dlg_editbox_get(pfd->sourcebox, dlg, str+i, sizeof(str) - i); - if (!str[2]) { + if (!str[i]) { dlg_error_msg(dlg, "You need to specify a source port number"); return; } @@ -1839,7 +1839,7 @@ void setup_config_box(struct controlbox *b, struct sesslist *sesslist, ctrl_droplist(s, "Misuses the session ID in PK auth", 'n', 20, HELPCTX(ssh_bugs_pksessid2), sshbug_handler, I(offsetof(Config,sshbug_pksessid2))); - ctrl_droplist(s, "Ignores key re-exchange completely", 'k', 20, + ctrl_droplist(s, "Handles key re-exchange badly", 'k', 20, HELPCTX(ssh_bugs_rekey2), sshbug_handler, I(offsetof(Config,sshbug_rekey2))); }