aboutsummaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-10-04 16:23:43 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-10-04 16:23:43 +0200
commit7b1359042c09e3f90f6d521e636c2d9123179912 (patch)
tree3edc61721867a4104ea0cfc07e88eae32d494cc2 /src/config.c
parentda9cd2e64d3a2e884a29fccdacf885468048f445 (diff)
downloadlibssh-7b1359042c09e3f90f6d521e636c2d9123179912.tar.gz
libssh-7b1359042c09e3f90f6d521e636c2d9123179912.tar.xz
libssh-7b1359042c09e3f90f6d521e636c2d9123179912.zip
Add zlib@openssh.com on the list of compression
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.c b/src/config.c
index 03e6e904..c651ed09 100644
--- a/src/config.c
+++ b/src/config.c
@@ -239,8 +239,8 @@ static int ssh_config_parse_line(ssh_session session, const char *line,
i = ssh_config_get_yesno(&s, -1);
if (i >= 0 && *parsing) {
if (i) {
- ssh_options_set(session, SSH_OPTIONS_COMPRESSION_C_S, "zlib,none");
- ssh_options_set(session, SSH_OPTIONS_COMPRESSION_S_C, "zlib,none");
+ ssh_options_set(session, SSH_OPTIONS_COMPRESSION_C_S, "zlib@openssh.com,zlib,none");
+ ssh_options_set(session, SSH_OPTIONS_COMPRESSION_S_C, "zlib@openssh.com,zlib,none");
} else {
ssh_options_set(session, SSH_OPTIONS_COMPRESSION_C_S, "none");
ssh_options_set(session, SSH_OPTIONS_COMPRESSION_S_C, "none");