1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-12 16:47:42 -05:00

Make the SSH2 traffic analysis defence robust in the face of Zlib

compression. This involves introducing an option to disable Zlib
compression (that is, continue to work within the Zlib format but
output an uncompressed block) for the duration of a single packet.

[originally from svn r982]
This commit is contained in:
Simon Tatham
2001-03-05 16:38:42 +00:00
parent a1d5dab580
commit aaeecbb4ea
3 changed files with 177 additions and 46 deletions

1
ssh.h
View File

@ -159,6 +159,7 @@ struct ssh_compress {
void (*decompress_init)(void);
int (*decompress)(unsigned char *block, int len,
unsigned char **outblock, int *outlen);
int (*disable_compression)(void);
};
struct ssh2_userkey {