1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

Having introduced a new function into the SSH2 compression structure,

it would help if I implemented it in the dummy no-compression case!

[originally from svn r987]
This commit is contained in:
Simon Tatham 2001-03-08 10:07:22 +00:00
parent a34ef3df55
commit 630a9a628f

4
ssh.c
View File

@ -202,10 +202,12 @@ static int ssh_comp_none_block(unsigned char *block, int len,
unsigned char **outblock, int *outlen) {
return 0;
}
static int ssh_comp_none_disable(void) { return 0; }
const static struct ssh_compress ssh_comp_none = {
"none",
ssh_comp_none_init, ssh_comp_none_block,
ssh_comp_none_init, ssh_comp_none_block
ssh_comp_none_init, ssh_comp_none_block,
ssh_comp_none_disable
};
extern const struct ssh_compress ssh_zlib;
const static struct ssh_compress *compressions[] = {