summaryrefslogtreecommitdiff
path: root/compat.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-03-29 00:36:16 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-03-29 00:36:16 +0000
commitdf221391e620776789e40af9a885c7c9cd945bd3 (patch)
tree1639ed6e2923e7bb67cc3ebfc0c1bbae03150298 /compat.c
parent60a4381f1a6ebc2f8eeeb2ba4e005ede91ac9af3 (diff)
- provos@cvs.openbsd.org 2001/03/27 17:46:50
[compat.c compat.h dh.c dh.h ssh2.h sshconnect2.c sshd.c version.h] make dh group exchange more flexible, allow min and max group size, okay markus@, deraadt@
Diffstat (limited to 'compat.c')
-rw-r--r--compat.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/compat.c b/compat.c
index 98372e202..686016f82 100644
--- a/compat.c
+++ b/compat.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: compat.c,v 1.41 2001/03/27 10:57:00 markus Exp $"); 26RCSID("$OpenBSD: compat.c,v 1.42 2001/03/27 17:46:49 provos Exp $");
27 27
28#ifdef HAVE_LIBPCRE 28#ifdef HAVE_LIBPCRE
29# include <pcreposix.h> 29# include <pcreposix.h>
@@ -68,10 +68,14 @@ compat_datafellows(const char *version)
68 int bugs; 68 int bugs;
69 } check[] = { 69 } check[] = {
70 { "^OpenSSH[-_]2\\.[012]", 70 { "^OpenSSH[-_]2\\.[012]",
71 SSH_OLD_SESSIONID|SSH_BUG_BANNER }, 71 SSH_OLD_SESSIONID|SSH_BUG_BANNER|
72 { "^OpenSSH_2\\.3\\.0", SSH_BUG_BANNER|SSH_BUG_BIGENDIANAES }, 72 SSH_OLD_DHGEX },
73 { "^OpenSSH_2\\.3\\.0", SSH_BUG_BANNER|SSH_BUG_BIGENDIANAES|
74 SSH_OLD_DHGEX},
73 { "^OpenSSH_2\\.5\\.[01]p1", 75 { "^OpenSSH_2\\.5\\.[01]p1",
74 SSH_BUG_BIGENDIANAES }, 76 SSH_BUG_BIGENDIANAES|SSH_OLD_DHGEX },
77 { "^OpenSSH_2\\.5\\.[012]",
78 SSH_OLD_DHGEX },
75 { "^OpenSSH", 0 }, 79 { "^OpenSSH", 0 },
76 { "MindTerm", 0 }, 80 { "MindTerm", 0 },
77 { "^2\\.1\\.0", SSH_BUG_SIGBLOB|SSH_BUG_HMAC| 81 { "^2\\.1\\.0", SSH_BUG_SIGBLOB|SSH_BUG_HMAC|