summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/compat.c
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>2001-03-27 17:46:51 +0000
committerNiels Provos <provos@cvs.openbsd.org>2001-03-27 17:46:51 +0000
commit6184a97d2bbb6c2b11ce9a90994b814cf4bb85b4 (patch)
tree40585dac26ba6cf1d1d311328dc6e401f5995b71 /usr.bin/ssh/compat.c
parentacb804f2fba02b2a7159852bcd5b347b3416ab32 (diff)
make dh group exchange more flexible, allow min and max group size,
okay markus@, deraadt@
Diffstat (limited to 'usr.bin/ssh/compat.c')
-rw-r--r--usr.bin/ssh/compat.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/usr.bin/ssh/compat.c b/usr.bin/ssh/compat.c
index f5fbb3305a6..c5400a48db4 100644
--- a/usr.bin/ssh/compat.c
+++ b/usr.bin/ssh/compat.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: compat.c,v 1.41 2001/03/27 10:57:00 markus Exp $");
+RCSID("$OpenBSD: compat.c,v 1.42 2001/03/27 17:46:49 provos Exp $");
#include <regex.h>
@@ -60,10 +60,14 @@ compat_datafellows(const char *version)
int bugs;
} check[] = {
{ "^OpenSSH[-_]2\\.[012]",
- SSH_OLD_SESSIONID|SSH_BUG_BANNER },
- { "^OpenSSH_2\\.3\\.0", SSH_BUG_BANNER|SSH_BUG_BIGENDIANAES },
+ SSH_OLD_SESSIONID|SSH_BUG_BANNER|
+ SSH_OLD_DHGEX },
+ { "^OpenSSH_2\\.3\\.0", SSH_BUG_BANNER|SSH_BUG_BIGENDIANAES|
+ SSH_OLD_DHGEX},
{ "^OpenSSH_2\\.5\\.[01]p1",
- SSH_BUG_BIGENDIANAES },
+ SSH_BUG_BIGENDIANAES|SSH_OLD_DHGEX },
+ { "^OpenSSH_2\\.5\\.[012]",
+ SSH_OLD_DHGEX },
{ "^OpenSSH", 0 },
{ "MindTerm", 0 },
{ "^2\\.1\\.0", SSH_BUG_SIGBLOB|SSH_BUG_HMAC|