summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/compat.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2015-05-26 23:23:41 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2015-05-26 23:23:41 +0000
commit83e03b7dc02fad4fc7730156fb42ba09821d1289 (patch)
treee537032a7ea84dfe9a76b8d61452f29bcd3bb014 /usr.bin/ssh/compat.h
parented8e1ab5bd157f9afad0bde0706eaf216f30c7ff (diff)
Cap DH-GEX group size at 4kbits for Cisco implementations. Some of them
will choke when asked for preferred sizes >4k instead of returning the 4k group that they do have. bz#2209, ok djm@
Diffstat (limited to 'usr.bin/ssh/compat.h')
-rw-r--r--usr.bin/ssh/compat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/compat.h b/usr.bin/ssh/compat.h
index 83507f07035..2be290a8a8f 100644
--- a/usr.bin/ssh/compat.h
+++ b/usr.bin/ssh/compat.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: compat.h,v 1.47 2015/04/10 05:16:50 dtucker Exp $ */
+/* $OpenBSD: compat.h,v 1.48 2015/05/26 23:23:40 dtucker Exp $ */
/*
* Copyright (c) 1999, 2000, 2001 Markus Friedl. All rights reserved.
@@ -61,6 +61,7 @@
#define SSH_BUG_DYNAMIC_RPORT 0x08000000
#define SSH_BUG_CURVE25519PAD 0x10000000
#define SSH_BUG_HOSTKEYS 0x20000000
+#define SSH_BUG_DHGEX_LARGE 0x40000000
void enable_compat13(void);
void enable_compat20(void);