summaryrefslogtreecommitdiff
path: root/dispatch.c
diff options
context:
space:
mode:
Diffstat (limited to 'dispatch.c')
-rw-r--r--dispatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dispatch.c b/dispatch.c
index f0437cdee..7168d1c74 100644
--- a/dispatch.c
+++ b/dispatch.c
@@ -22,7 +22,7 @@
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */ 23 */
24#include "includes.h" 24#include "includes.h"
25RCSID("$OpenBSD: dispatch.c,v 1.9 2001/02/04 15:32:23 stevesk Exp $"); 25RCSID("$OpenBSD: dispatch.c,v 1.10 2001/02/18 18:33:53 markus Exp $");
26 26
27#include "ssh1.h" 27#include "ssh1.h"
28#include "ssh2.h" 28#include "ssh2.h"
@@ -40,7 +40,7 @@ void
40dispatch_protocol_error(int type, int plen, void *ctxt) 40dispatch_protocol_error(int type, int plen, void *ctxt)
41{ 41{
42 error("Hm, dispatch protocol error: type %d plen %d", type, plen); 42 error("Hm, dispatch protocol error: type %d plen %d", type, plen);
43 if (compat20 && type == SSH2_MSG_KEXDH_INIT) 43 if (compat20 && type == SSH2_MSG_KEXINIT)
44 fatal("dispatch_protocol_error: rekeying is not supported"); 44 fatal("dispatch_protocol_error: rekeying is not supported");
45} 45}
46void 46void