summaryrefslogtreecommitdiff
path: root/kex.c
diff options
context:
space:
mode:
authorsf@openbsd.org <sf@openbsd.org>2018-07-06 09:06:14 +0000
committerDamien Miller <djm@mindrot.org>2018-07-10 15:13:40 +1000
commitab39267fa1243d02b6c330615539fc4b21e17dc4 (patch)
treee1a1525b384e439f41f4a4b106a93efee07b6ac1 /kex.c
parent95db395d2e56a6f868193aead6cadb2493f036c6 (diff)
upstream: Rename COMP_DELAYED to COMP_ZLIB
Only delayed compression is supported nowadays. ok markus@ OpenBSD-Commit-ID: 5b1dbaf3d9a4085aaa10fec0b7a4364396561821
Diffstat (limited to 'kex.c')
-rw-r--r--kex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kex.c b/kex.c
index 0c444e186..b111c4a54 100644
--- a/kex.c
+++ b/kex.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: kex.c,v 1.139 2018/07/06 09:05:01 sf Exp $ */ 1/* $OpenBSD: kex.c,v 1.140 2018/07/06 09:06:14 sf 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 *
@@ -741,7 +741,7 @@ choose_comp(struct sshcomp *comp, char *client, char *server)
741 if (name == NULL) 741 if (name == NULL)
742 return SSH_ERR_NO_COMPRESS_ALG_MATCH; 742 return SSH_ERR_NO_COMPRESS_ALG_MATCH;
743 if (strcmp(name, "zlib@openssh.com") == 0) { 743 if (strcmp(name, "zlib@openssh.com") == 0) {
744 comp->type = COMP_DELAYED; 744 comp->type = COMP_ZLIB;
745 } else if (strcmp(name, "none") == 0) { 745 } else if (strcmp(name, "none") == 0) {
746 comp->type = COMP_NONE; 746 comp->type = COMP_NONE;
747 } else { 747 } else {