summaryrefslogtreecommitdiff
path: root/compat.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-04-05 23:28:36 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-04-05 23:28:36 +0000
commita8baf36d41b0dc49451faa1e6fb074f70124527e (patch)
tree2d9b8fb1724dbeaa2e47eb3a54bb3901e5bd47df /compat.c
parenta3700050ec681277bcdf76a02b0c2e304ff317c7 (diff)
- markus@cvs.openbsd.org 2001/04/05 11:09:17
[clientloop.c compat.c compat.h] add SSH_BUG_NOREKEY and detect broken (=all old) openssh versions.
Diffstat (limited to 'compat.c')
-rw-r--r--compat.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/compat.c b/compat.c
index 85446999..f96a6c63 100644
--- a/compat.c
+++ b/compat.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: compat.c,v 1.44 2001/04/05 10:00:06 markus Exp $");
+RCSID("$OpenBSD: compat.c,v 1.45 2001/04/05 11:09:16 markus Exp $");
#ifdef HAVE_LIBPCRE
# include <pcreposix.h>
@@ -69,14 +69,18 @@ compat_datafellows(const char *version)
} check[] = {
{ "^OpenSSH[-_]2\\.[012]",
SSH_OLD_SESSIONID|SSH_BUG_BANNER|
- SSH_OLD_DHGEX },
+ SSH_OLD_DHGEX|SSH_BUG_NOREKEY },
{ "^OpenSSH_2\\.3\\.0", SSH_BUG_BANNER|SSH_BUG_BIGENDIANAES|
- SSH_OLD_DHGEX},
- { "^OpenSSH_2\\.3\\.", SSH_BUG_BIGENDIANAES|SSH_OLD_DHGEX},
+ SSH_OLD_DHGEX|SSH_BUG_NOREKEY},
+ { "^OpenSSH_2\\.3\\.", SSH_BUG_BIGENDIANAES|SSH_OLD_DHGEX|
+ SSH_BUG_NOREKEY},
{ "^OpenSSH_2\\.5\\.[01]p1",
- SSH_BUG_BIGENDIANAES|SSH_OLD_DHGEX },
+ SSH_BUG_BIGENDIANAES|SSH_OLD_DHGEX|
+ SSH_BUG_NOREKEY },
{ "^OpenSSH_2\\.5\\.[012]",
- SSH_OLD_DHGEX },
+ SSH_OLD_DHGEX|SSH_BUG_NOREKEY },
+ { "^OpenSSH_2\\.5\\.3",
+ SSH_BUG_NOREKEY },
{ "^OpenSSH", 0 },
{ "MindTerm", 0 },
{ "^2\\.1\\.0", SSH_BUG_SIGBLOB|SSH_BUG_HMAC|