summaryrefslogtreecommitdiffstats
path: root/compat.c
diff options
context:
space:
mode:
authordtucker@openbsd.org <dtucker@openbsd.org>2015-07-13 06:57:14 +0200
committerDamien Miller <djm@mindrot.org>2015-07-15 07:38:02 +0200
commitb1dc2b33689668c75e95f873a42d5aea1f4af1db (patch)
treefec82a9dbf4d9bc971a586d19b123deca86ff543 /compat.c
parentupstream commit (diff)
downloadopenssh-b1dc2b33689668c75e95f873a42d5aea1f4af1db.tar.xz
openssh-b1dc2b33689668c75e95f873a42d5aea1f4af1db.zip
upstream commit
Add "PuTTY_Local:" to the clients to which we do not offer DH-GEX. This was the string that was used for development versions prior to September 2014 and they don't do RFC4419 DH-GEX, but unfortunately there are some extant products based on those versions. bx2424 from Jay Rouman, ok markus@ djm@ Upstream-ID: be34d41e18b966832fe09ca243d275b81882e1d5
Diffstat (limited to 'compat.c')
-rw-r--r--compat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/compat.c b/compat.c
index 0631024f0..5ea57ed49 100644
--- a/compat.c
+++ b/compat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: compat.c,v 1.94 2015/05/26 23:23:40 dtucker Exp $ */
+/* $OpenBSD: compat.c,v 1.95 2015/07/13 04:57:14 dtucker Exp $ */
/*
* Copyright (c) 1999, 2000, 2001, 2002 Markus Friedl. All rights reserved.
*
@@ -166,7 +166,8 @@ compat_datafellows(const char *version)
"OSU_1.5alpha3*", SSH_BUG_PASSWORDPAD },
{ "*SSH_Version_Mapper*",
SSH_BUG_SCANNER },
- { "PuTTY-Release-0.5*," /* 0.50-0.57, DH-GEX in >=0.52 */
+ { "PuTTY_Local:*," /* dev versions < Sep 2014 */
+ "PuTTY-Release-0.5*," /* 0.50-0.57, DH-GEX in >=0.52 */
"PuTTY_Release_0.5*," /* 0.58-0.59 */
"PuTTY_Release_0.60*,"
"PuTTY_Release_0.61*,"