=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/kex.c,v retrieving revision 1.125 retrieving revision 1.126 diff -u -r1.125 -r1.126 --- src/usr.bin/ssh/kex.c 2016/09/28 20:32:42 1.125 +++ src/usr.bin/ssh/kex.c 2016/09/28 21:44:52 1.126 @@ -1,4 +1,4 @@ -/* $OpenBSD: kex.c,v 1.125 2016/09/28 20:32:42 djm Exp $ */ +/* $OpenBSD: kex.c,v 1.126 2016/09/28 21:44:52 djm Exp $ */ /* * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. * @@ -662,6 +662,8 @@ 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 {