summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/kex.h
diff options
context:
space:
mode:
authorStefan Fritsch <sf@cvs.openbsd.org>2018-07-10 09:36:59 +0000
committerStefan Fritsch <sf@cvs.openbsd.org>2018-07-10 09:36:59 +0000
commit450719fb4311de2b773d992bce13a17dd1dd7d1a (patch)
treef9afc0d18ca8e739e35ba3697ebd2cf9935b2e60 /usr.bin/ssh/kex.h
parent5bb77b5bc11d052ef606313b5d91de0643f011b2 (diff)
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@
Diffstat (limited to 'usr.bin/ssh/kex.h')
-rw-r--r--usr.bin/ssh/kex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/kex.h b/usr.bin/ssh/kex.h
index fa22c1eb5e4..b6808f79b99 100644
--- a/usr.bin/ssh/kex.h
+++ b/usr.bin/ssh/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.
@@ -49,6 +49,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