diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-06-12 00:12:56 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-06-12 00:12:56 +0000 |
commit | 16c1bd6d097fcc2fe24116449a30563c86ece402 (patch) | |
tree | 1f8ea8f802bf8fce1865591061880329752e4c7c /dispatch.c | |
parent | 0b35572596e1c9928f8a01934b1565163297e533 (diff) | |
download | openssh-git-16c1bd6d097fcc2fe24116449a30563c86ece402.tar.gz |
- markus@cvs.openbsd.org 2001/06/10 11:29:20
[dispatch.c]
we support rekeying
protocol errors are fatal.
Diffstat (limited to 'dispatch.c')
-rw-r--r-- | dispatch.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -22,7 +22,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "includes.h" -RCSID("$OpenBSD: dispatch.c,v 1.10 2001/02/18 18:33:53 markus Exp $"); +RCSID("$OpenBSD: dispatch.c,v 1.11 2001/06/10 11:29:20 markus Exp $"); #include "ssh1.h" #include "ssh2.h" @@ -39,9 +39,7 @@ dispatch_fn *dispatch[DISPATCH_MAX]; void dispatch_protocol_error(int type, int plen, void *ctxt) { - error("Hm, dispatch protocol error: type %d plen %d", type, plen); - if (compat20 && type == SSH2_MSG_KEXINIT) - fatal("dispatch_protocol_error: rekeying is not supported"); + fatal("dispatch_protocol_error: type %d plen %d", type, plen); } void dispatch_init(dispatch_fn *dflt) |