Remove last vestiges of `buggymac' in the Config structure. Might
[u/mdw/putty] / ssh.c
diff --git a/ssh.c b/ssh.c
index e0fd106..3e8396f 100644 (file)
--- 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);