diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2000-12-03 11:27:56 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2000-12-03 11:27:56 +0000 |
commit | 594b1e737232f2ecaa368d37dab15b6fc5f2a7cf (patch) | |
tree | 0226a115b6036d96db7c22b16b8d83d5b544e412 /usr.bin | |
parent | e6f51a040a0e9c2d041b417438cec50358f087eb (diff) |
correctly match "2.1.0.pl2 SSH" etc; from pekkas@netcore.fi/bugzilla.redhat
Diffstat (limited to 'usr.bin')
-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 5266b2585d2..affa63ead66 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.28 2000/12/03 11:15:03 markus Exp $"); +RCSID("$OpenBSD: compat.c,v 1.29 2000/12/03 11:27:55 markus Exp $"); #include "ssh.h" #include "packet.h" @@ -60,7 +60,7 @@ compat_datafellows(const char *version) } check[] = { { "^OpenSSH[-_]2\\.[012]", SSH_OLD_SESSIONID }, { "MindTerm", 0 }, - { "^2\\.1\\.0 ", SSH_BUG_SIGBLOB|SSH_BUG_HMAC| + { "^2\\.1\\.0", SSH_BUG_SIGBLOB|SSH_BUG_HMAC| SSH_OLD_SESSIONID }, { "^2\\.0\\.1[3-9]", SSH_BUG_SIGBLOB|SSH_BUG_HMAC| SSH_OLD_SESSIONID| @@ -68,7 +68,7 @@ compat_datafellows(const char *version) { "^2\\.0\\.", SSH_BUG_SIGBLOB|SSH_BUG_HMAC| SSH_OLD_SESSIONID|SSH_BUG_PKAUTH| SSH_BUG_PKSERVICE|SSH_BUG_X11FWD }, - { "^2\\.[23]\\.0 ", SSH_BUG_HMAC}, + { "^2\\.[23]\\.0", SSH_BUG_HMAC}, { "^2\\.[2-9]\\.", 0 }, { "^2\\.4$", SSH_OLD_SESSIONID}, /* Van Dyke */ { "^3\\.0 SecureCRT", SSH_OLD_SESSIONID}, |