diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2000-08-27 18:18:05 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2000-08-27 18:18:05 +0000 |
commit | 65af60677b7747bdb51a133f09797e93b8e40b8a (patch) | |
tree | 3bc6fded5e4a9c990e7a77db43c3efb6cd6563b4 | |
parent | e9e779c052c8358eeb60f2cd75566a13d3026c06 (diff) |
compatibility with future ssh.com versions
-rw-r--r-- | usr.bin/ssh/compat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/compat.c b/usr.bin/ssh/compat.c index 4526ded7611..5d3940ab446 100644 --- a/usr.bin/ssh/compat.c +++ b/usr.bin/ssh/compat.c @@ -28,7 +28,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: compat.c,v 1.20 2000/08/26 10:33:43 markus Exp $"); +RCSID("$OpenBSD: compat.c,v 1.21 2000/08/27 18:18:04 markus Exp $"); #include "ssh.h" #include "packet.h" @@ -61,12 +61,12 @@ compat_datafellows(const char *version) char *version; int bugs; } check[] = { - {"2.3.0", SSH_BUG_HMAC|SSH_COMPAT_SESSIONID_ENCODING}, - {"2.2.0", SSH_BUG_HMAC|SSH_COMPAT_SESSIONID_ENCODING}, {"2.1.0", SSH_BUG_SIGBLOB|SSH_BUG_HMAC}, {"2.0.1", SSH_BUG_SIGBLOB|SSH_BUG_HMAC|SSH_BUG_PUBKEYAUTH|SSH_BUG_X11FWD}, + {"2.", SSH_BUG_HMAC|SSH_COMPAT_SESSIONID_ENCODING}, {NULL, 0} }; + /* process table, return first match */ for (i = 0; check[i].version; i++) { len = strlen(check[i].version); if (strlen(version) >= len && |