diff options
author | djm@openbsd.org <djm@openbsd.org> | 2016-09-28 20:32:42 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2016-09-29 06:54:50 +1000 |
commit | 4577adead6a7d600c8e764619d99477a08192c8f (patch) | |
tree | 1f825ee75953b95abab5a88ee9f8e241cab9eec1 /kex.c | |
parent | 80d1c963b4dc84ffd11d09617b39c4bffda08956 (diff) |
upstream commit
restore pre-auth compression support in the client -- the
previous commit was intended to remove it from the server only.
remove a few server-side pre-auth compression bits that escaped
adjust wording of Compression directive in sshd_config(5)
pointed out by naddy@ ok markus@
Upstream-ID: d23696ed72a228dacd4839dd9f2dec424ba2016b
Diffstat (limited to 'kex.c')
-rw-r--r-- | kex.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: kex.c,v 1.124 2016/09/22 17:52:53 djm Exp $ */ | 1 | /* $OpenBSD: kex.c,v 1.125 2016/09/28 20:32:42 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -684,8 +684,6 @@ choose_comp(struct sshcomp *comp, char *client, char *server) | |||
684 | return SSH_ERR_NO_COMPRESS_ALG_MATCH; | 684 | return SSH_ERR_NO_COMPRESS_ALG_MATCH; |
685 | if (strcmp(name, "zlib@openssh.com") == 0) { | 685 | if (strcmp(name, "zlib@openssh.com") == 0) { |
686 | comp->type = COMP_DELAYED; | 686 | comp->type = COMP_DELAYED; |
687 | } else if (strcmp(name, "zlib") == 0) { | ||
688 | comp->type = COMP_ZLIB; | ||
689 | } else if (strcmp(name, "none") == 0) { | 687 | } else if (strcmp(name, "none") == 0) { |
690 | comp->type = COMP_NONE; | 688 | comp->type = COMP_NONE; |
691 | } else { | 689 | } else { |