From 1b56c05584652dba13d7f4f54e7ac2560dab92fe Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 1 Oct 2002 18:30:15 +0000 Subject: [PATCH] Remove last vestiges of `buggymac' in the Config structure. Might have been cause of a Plink bug since it no longer got initialised. git-svn-id: svn://svn.tartarus.org/sgt/putty@1986 cda61777-01e9-0310-a592-d414129be87e --- putty.h | 1 - ssh.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/putty.h b/putty.h index 903695ed..46e39c6f 100644 --- a/putty.h +++ b/putty.h @@ -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; diff --git a/ssh.c b/ssh.c index e0fd106a..3e8396fd 100644 --- a/ssh.c +++ b/ssh.c @@ -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); -- 2.11.0