mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-16 02:27:32 -05:00
Add a new SSH2 bug: some servers apparently claim to be able to do
DH group exchange, but choke when you actually try it. Never automatically enabled; manual control only. [originally from svn r1982]
This commit is contained in:
@ -309,6 +309,7 @@ void save_settings(char *section, int do_host, Config * cfg)
|
||||
write_setting_i(sesskey, "BugHMAC2", cfg->sshbug_hmac2);
|
||||
write_setting_i(sesskey, "BugDeriveKey2", cfg->sshbug_derivekey2);
|
||||
write_setting_i(sesskey, "BugRSAPad2", cfg->sshbug_rsapad2);
|
||||
write_setting_i(sesskey, "BugDHGEx2", cfg->sshbug_dhgex2);
|
||||
close_settings_w(sesskey);
|
||||
}
|
||||
|
||||
@ -583,6 +584,7 @@ void load_settings(char *section, int do_host, Config * cfg)
|
||||
}
|
||||
gppi(sesskey, "BugDeriveKey2", BUG_AUTO, &cfg->sshbug_derivekey2);
|
||||
gppi(sesskey, "BugRSAPad2", BUG_AUTO, &cfg->sshbug_rsapad2);
|
||||
gppi(sesskey, "BugDHGEx2", BUG_AUTO, &cfg->sshbug_dhgex2);
|
||||
|
||||
close_settings_r(sesskey);
|
||||
}
|
||||
|
Reference in New Issue
Block a user