summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2016-09-28 20:32:42 +0000
committerDamien Miller <djm@mindrot.org>2016-09-29 06:54:50 +1000
commit4577adead6a7d600c8e764619d99477a08192c8f (patch)
tree1f825ee75953b95abab5a88ee9f8e241cab9eec1 /kex.h
parent80d1c963b4dc84ffd11d09617b39c4bffda08956 (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.h')
-rw-r--r--kex.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/kex.h b/kex.h
index 382630660..318c41d4a 100644
--- a/kex.h
+++ b/kex.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: kex.h,v 1.79 2016/09/22 21:15:41 djm Exp $ */ 1/* $OpenBSD: kex.h,v 1.80 2016/09/28 20:32:42 djm Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -64,8 +64,7 @@
64#define KEX_CURVE25519_SHA256_OLD "curve25519-sha256@libssh.org" 64#define KEX_CURVE25519_SHA256_OLD "curve25519-sha256@libssh.org"
65 65
66#define COMP_NONE 0 66#define COMP_NONE 0
67#define COMP_ZLIB 1 67#define COMP_DELAYED 1
68#define COMP_DELAYED 2
69 68
70#define CURVE25519_SIZE 32 69#define CURVE25519_SIZE 32
71 70