diff options
author | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:38:40 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2009-12-29 21:38:40 +0000 |
commit | 1b816ea846aca3ee89e7995373ace609e9518424 (patch) | |
tree | b41cdc8495cae7fa9c2e0f98a5f2e71656b61f9a /compat.c | |
parent | fa585019a79ebcb4e0202b1c33f87ff1c5c9ce1c (diff) | |
parent | 086ea76990b1e6287c24b6db74adffd4605eb3b0 (diff) |
import openssh-4.6p1-gsskex-20070312.patch
Diffstat (limited to 'compat.c')
-rw-r--r-- | compat.c | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -1,3 +1,4 @@ | |||
1 | /* $OpenBSD: compat.c,v 1.77 2006/12/12 03:58:42 djm Exp $ */ | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 1999, 2000, 2001, 2002 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 1999, 2000, 2001, 2002 Markus Friedl. All rights reserved. |
3 | * | 4 | * |
@@ -23,11 +24,16 @@ | |||
23 | */ | 24 | */ |
24 | 25 | ||
25 | #include "includes.h" | 26 | #include "includes.h" |
26 | RCSID("$OpenBSD: compat.c,v 1.71 2005/03/01 10:09:52 djm Exp $"); | ||
27 | 27 | ||
28 | #include <sys/types.h> | ||
29 | |||
30 | #include <stdlib.h> | ||
31 | #include <string.h> | ||
32 | #include <stdarg.h> | ||
33 | |||
34 | #include "xmalloc.h" | ||
28 | #include "buffer.h" | 35 | #include "buffer.h" |
29 | #include "packet.h" | 36 | #include "packet.h" |
30 | #include "xmalloc.h" | ||
31 | #include "compat.h" | 37 | #include "compat.h" |
32 | #include "log.h" | 38 | #include "log.h" |
33 | #include "match.h" | 39 | #include "match.h" |
@@ -127,7 +133,8 @@ compat_datafellows(const char *version) | |||
127 | { "2.3.*", SSH_BUG_DEBUG|SSH_BUG_RSASIGMD5| | 133 | { "2.3.*", SSH_BUG_DEBUG|SSH_BUG_RSASIGMD5| |
128 | SSH_BUG_FIRSTKEX }, | 134 | SSH_BUG_FIRSTKEX }, |
129 | { "2.4", SSH_OLD_SESSIONID }, /* Van Dyke */ | 135 | { "2.4", SSH_OLD_SESSIONID }, /* Van Dyke */ |
130 | { "2.*", SSH_BUG_DEBUG|SSH_BUG_FIRSTKEX }, | 136 | { "2.*", SSH_BUG_DEBUG|SSH_BUG_FIRSTKEX| |
137 | SSH_BUG_RFWD_ADDR }, | ||
131 | { "3.0.*", SSH_BUG_DEBUG }, | 138 | { "3.0.*", SSH_BUG_DEBUG }, |
132 | { "3.0 SecureCRT*", SSH_OLD_SESSIONID }, | 139 | { "3.0 SecureCRT*", SSH_OLD_SESSIONID }, |
133 | { "1.7 SecureFX*", SSH_OLD_SESSIONID }, | 140 | { "1.7 SecureFX*", SSH_OLD_SESSIONID }, |