summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
authorsf@openbsd.org <sf@openbsd.org>2018-07-10 09:36:58 +0000
committerDamien Miller <djm@mindrot.org>2018-07-11 09:52:08 +1000
commit984bacfaacbbe31c35191b828fb5b5b2f0362c36 (patch)
tree72ffe63312c4d8673332a9a0354ea7456a7294e7 /kex.h
parent120a1ec74e8d9d29f4eb9a27972ddd22351ddef9 (diff)
downloadopenssh-git-984bacfaacbbe31c35191b828fb5b5b2f0362c36.tar.gz
upstream: re-remove some pre-auth compression bits
This time, make sure to not remove things that are necessary for pre-auth compression on the client. Add a comment that pre-auth compression is still supported in the client. ok markus@ OpenBSD-Commit-ID: 282c6fec7201f18a5c333bbb68d9339734d2f784
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/kex.h b/kex.h
index 20900818..d36e4d15 100644
--- a/kex.h
+++ b/kex.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: kex.h,v 1.89 2018/07/09 21:56:06 markus Exp $ */
+/* $OpenBSD: kex.h,v 1.90 2018/07/10 09:36:58 sf Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -63,6 +63,7 @@
#define KEX_CURVE25519_SHA256_OLD "curve25519-sha256@libssh.org"
#define COMP_NONE 0
+/* pre-auth compression (COMP_ZLIB) is only supported in the client */
#define COMP_ZLIB 1
#define COMP_DELAYED 2