*/
#include "includes.h"
-RCSID("$Id: compat.c,v 1.7 2000/04/04 15:19:42 markus Exp $");
+RCSID("$Id: compat.c,v 1.8 2000/04/07 09:17:39 markus Exp $");
#include "ssh.h"
#include "packet.h"
size_t len;
static const char *check[] = {
"2.0.1",
- "2.1.0.beta.9",
- "2.1.0.pre.3",
- "2.1.0.public.beta.1",
+ "2.1.0",
NULL
};
for (i = 0; check[i]; i++) {
*/
#include "includes.h"
-RCSID("$OpenBSD: sshd.c,v 1.98 2000/04/06 08:55:22 markus Exp $");
+RCSID("$OpenBSD: sshd.c,v 1.99 2000/04/07 09:17:39 markus Exp $");
#include "xmalloc.h"
#include "rsa.h"
/* note that this disables agent-forwarding */
enable_compat13();
}
- break;
+ if (remote_minor != 99)
+ break;
+ /* FALLTHROUGH */
case 2:
if (allow_ssh2) {
enable_compat20();
break;
}
+ /* FALLTHROUGH */
default:
s = "Protocol major versions differ.\n";
(void) atomicio(write, sock_out, s, strlen(s));