mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05: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:
parent
c031944e0a
commit
ace232f5fa
1
putty.h
1
putty.h
@ -266,7 +266,6 @@ typedef struct {
|
|||||||
int ssh_cipherlist[CIPHER_MAX];
|
int ssh_cipherlist[CIPHER_MAX];
|
||||||
char keyfile[FILENAME_MAX];
|
char keyfile[FILENAME_MAX];
|
||||||
int sshprot; /* use v1 or v2 when both available */
|
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 ssh2_des_cbc; /* "des-cbc" nonstandard SSH2 cipher */
|
||||||
int try_tis_auth;
|
int try_tis_auth;
|
||||||
int try_ki_auth;
|
int try_ki_auth;
|
||||||
|
2
ssh.c
2
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.
|
* 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);
|
maclist = buggymacs, nmacs = lenof(buggymacs);
|
||||||
else
|
else
|
||||||
maclist = macs, nmacs = lenof(macs);
|
maclist = macs, nmacs = lenof(macs);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user