1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-06 05:52:48 -05:00

Move bug flag definitions out into ssh.h.

With a new shiny list-macro system that will allocate power-of-2
values for them without me having to manually keep the numbers
straight.
This commit is contained in:
Simon Tatham
2018-09-19 17:59:38 +01:00
parent ce0b672e78
commit 370ff150ab
2 changed files with 26 additions and 17 deletions

17
ssh.c
View File

@ -47,23 +47,6 @@ static const char *const ssh2_disconnect_reasons[] = {
"illegal user name",
};
/*
* Various remote-bug flags.
*/
#define BUG_CHOKES_ON_SSH1_IGNORE 1
#define BUG_SSH2_HMAC 2
#define BUG_NEEDS_SSH1_PLAIN_PASSWORD 4
#define BUG_CHOKES_ON_RSA 8
#define BUG_SSH2_RSA_PADDING 16
#define BUG_SSH2_DERIVEKEY 32
#define BUG_SSH2_REKEY 64
#define BUG_SSH2_PK_SESSIONID 128
#define BUG_SSH2_MAXPKT 256
#define BUG_CHOKES_ON_SSH2_IGNORE 512
#define BUG_CHOKES_ON_WINADJ 1024
#define BUG_SENDS_LATE_REQUEST_REPLY 2048
#define BUG_SSH2_OLDGEX 4096
#define DH_MIN_SIZE 1024
#define DH_MAX_SIZE 8192