1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Remove last vestiges of `buggymac' in the Config structure. Might

have been cause of a Plink bug since it no longer got initialised.

[originally from svn r1986]
This commit is contained in:
Simon Tatham 2002-10-01 18:30:15 +00:00
parent c031944e0a
commit ace232f5fa
2 changed files with 1 additions and 2 deletions

View File

@ -266,7 +266,6 @@ typedef struct {
int ssh_cipherlist[CIPHER_MAX];
char keyfile[FILENAME_MAX];
int sshprot; /* use v1 or v2 when both available */
int buggymac; /* MAC bug commmercial <=v2.3.x SSH2 */
int ssh2_des_cbc; /* "des-cbc" nonstandard SSH2 cipher */
int try_tis_auth;
int try_ki_auth;

2
ssh.c
View File

@ -3642,7 +3642,7 @@ static int do_ssh2_transport(unsigned char *in, int inlen, int ispkt)
/*
* Be prepared to work around the buggy MAC problem.
*/
if (cfg.buggymac || (ssh_remote_bugs & BUG_SSH2_HMAC))
if (ssh_remote_bugs & BUG_SSH2_HMAC)
maclist = buggymacs, nmacs = lenof(buggymacs);
else
maclist = macs, nmacs = lenof(macs);