[BACK]Return to dispatch.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/dispatch.c between version 1.7 and 1.8

version 1.7, 2001/01/21 19:05:49 version 1.8, 2001/01/28 10:15:34
Line 25 
Line 25 
 RCSID("$OpenBSD$");  RCSID("$OpenBSD$");
   
 #include "ssh1.h"  #include "ssh1.h"
   #include "ssh2.h"
 #include "log.h"  #include "log.h"
 #include "dispatch.h"  #include "dispatch.h"
 #include "packet.h"  #include "packet.h"
   #include "compat.h"
   
 #define DISPATCH_MIN    0  #define DISPATCH_MIN    0
 #define DISPATCH_MAX    255  #define DISPATCH_MAX    255
Line 38 
Line 40 
 dispatch_protocol_error(int type, int plen, void *ctxt)  dispatch_protocol_error(int type, int plen, void *ctxt)
 {  {
         error("Hm, dispatch protocol error: type %d plen %d", type, plen);          error("Hm, dispatch protocol error: type %d plen %d", type, plen);
           if (compat20 && type == SSH2_MSG_KEXDH_INIT)
                   fatal("dispatch_protocol_error: rekeying is not supported");
 }  }
 void  void
 dispatch_init(dispatch_fn *dflt)  dispatch_init(dispatch_fn *dflt)

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8