diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2016-09-28 20:32:43 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2016-09-28 20:32:43 +0000 |
commit | 55592c6da40d15166424340e9e27935a0a50d062 (patch) | |
tree | fab438a6b9d324a94ad4eacc1e4c17e1373c6f7b /usr.bin/ssh/kex.c | |
parent | 39c57894913398b6d962c6b62ae52a3f44b2a994 (diff) |
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@
Diffstat (limited to 'usr.bin/ssh/kex.c')
-rw-r--r-- | usr.bin/ssh/kex.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/ssh/kex.c b/usr.bin/ssh/kex.c index 94c508de89d..6f98e6c10c1 100644 --- a/usr.bin/ssh/kex.c +++ b/usr.bin/ssh/kex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kex.c,v 1.124 2016/09/22 17:52:53 djm Exp $ */ +/* $OpenBSD: kex.c,v 1.125 2016/09/28 20:32:42 djm Exp $ */ /* * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. * @@ -662,8 +662,6 @@ choose_comp(struct sshcomp *comp, char *client, char *server) return SSH_ERR_NO_COMPRESS_ALG_MATCH; if (strcmp(name, "zlib@openssh.com") == 0) { comp->type = COMP_DELAYED; - } else if (strcmp(name, "zlib") == 0) { - comp->type = COMP_ZLIB; } else if (strcmp(name, "none") == 0) { comp->type = COMP_NONE; } else { |