summaryrefslogtreecommitdiffstats
path: root/src/wrapper.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-10-04 16:19:20 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-10-04 16:19:20 +0200
commitda9cd2e64d3a2e884a29fccdacf885468048f445 (patch)
tree3f9a387e49379eb50d624dd6c58141b36f4cf1cd /src/wrapper.c
parent5d1636985bd64c0499d9af120622ae7c2bdd83ca (diff)
downloadlibssh-da9cd2e64d3a2e884a29fccdacf885468048f445.tar.gz
libssh-da9cd2e64d3a2e884a29fccdacf885468048f445.tar.xz
libssh-da9cd2e64d3a2e884a29fccdacf885468048f445.zip
Implemented zlib@openssh.com compression
Diffstat (limited to 'src/wrapper.c')
-rw-r--r--src/wrapper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wrapper.c b/src/wrapper.c
index a78a93d..d4ad09c 100644
--- a/src/wrapper.c
+++ b/src/wrapper.c
@@ -167,10 +167,10 @@ static int crypt_set_algorithms2(ssh_session session){
if (strcmp(session->client_kex.methods[SSH_COMP_S_C], "zlib") == 0) {
session->next_crypto->do_compress_in = 1;
}
- if (strcmp(session->client_kex.methods[SSH_COMP_C_S], "zlib@openssh.org") == 0) {
+ if (strcmp(session->client_kex.methods[SSH_COMP_C_S], "zlib@openssh.com") == 0) {
session->next_crypto->delayed_compress_out = 1;
}
- if (strcmp(session->client_kex.methods[SSH_COMP_S_C], "zlib@openssh.org") == 0) {
+ if (strcmp(session->client_kex.methods[SSH_COMP_S_C], "zlib@openssh.com") == 0) {
session->next_crypto->delayed_compress_in = 1;
}
return SSH_OK;