зеркало из https://github.com/github/putty.git
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:
Родитель
c031944e0a
Коммит
ace232f5fa
1
putty.h
1
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;
|
||||
|
|
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.
|
||||
*/
|
||||
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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче