diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2000-10-31 09:31:59 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2000-10-31 09:31:59 +0000 |
commit | 37afeae197b70d6f5e5eb7fb107933ad0acae6bb (patch) | |
tree | d75067ed45cab54331e43faa7912ca639b5a2cbd /usr.bin/ssh/compat.c | |
parent | 35dbe86c5be978e3d32f63f9eb6eaa584b9465f6 (diff) |
handle all old openssh versions
Diffstat (limited to 'usr.bin/ssh/compat.c')
-rw-r--r-- | usr.bin/ssh/compat.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/ssh/compat.c b/usr.bin/ssh/compat.c index 6ec6b8ae47a..a9daabc7379 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.26 2000/10/26 18:38:28 markus Exp $"); +RCSID("$OpenBSD: compat.c,v 1.27 2000/10/31 09:31:58 markus Exp $"); #include "ssh.h" #include "packet.h" @@ -58,8 +58,7 @@ compat_datafellows(const char *version) char *pat; int bugs; } check[] = { - { "^OpenSSH-2\\.[01]", SSH_OLD_SESSIONID }, - { "^OpenSSH_2\\.2", SSH_OLD_SESSIONID }, + { "^OpenSSH[-_]2\\.[012]", SSH_OLD_SESSIONID }, { "MindTerm", 0 }, { "^2\\.1\\.0 ", SSH_BUG_SIGBLOB|SSH_BUG_HMAC| SSH_OLD_SESSIONID }, |