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

Diff for /src/usr.bin/ssh/auth2.c between version 1.77 and 1.78

version 1.77, 2001/12/19 07:18:56 version 1.78, 2001/12/20 22:50:24
Line 69 
Line 69 
   
 /* protocol */  /* protocol */
   
 static void input_service_request(int, int, void *);  static void input_service_request(int, int, u_int32_t, void *);
 static void input_userauth_request(int, int, void *);  static void input_userauth_request(int, int, u_int32_t, void *);
 static void protocol_error(int, int, void *);  static void protocol_error(int, int, u_int32_t, void *);
   
 /* helper */  /* helper */
 static Authmethod *authmethod_lookup(const char *);  static Authmethod *authmethod_lookup(const char *);
Line 128 
Line 128 
 }  }
   
 static void  static void
 protocol_error(int type, int plen, void *ctxt)  protocol_error(int type, int plen, u_int32_t seq, void *ctxt)
 {  {
         log("auth: protocol error: type %d plen %d", type, plen);          log("auth: protocol error: type %d plen %d", type, plen);
         packet_start(SSH2_MSG_UNIMPLEMENTED);          packet_start(SSH2_MSG_UNIMPLEMENTED);
         packet_put_int(0);          packet_put_int(seq);
         packet_send();          packet_send();
         packet_write_wait();          packet_write_wait();
 }  }
   
 static void  static void
 input_service_request(int type, int plen, void *ctxt)  input_service_request(int type, int plen, u_int32_t seq, void *ctxt)
 {  {
         Authctxt *authctxt = ctxt;          Authctxt *authctxt = ctxt;
         u_int len;          u_int len;
Line 171 
Line 171 
 }  }
   
 static void  static void
 input_userauth_request(int type, int plen, void *ctxt)  input_userauth_request(int type, int plen, u_int32_t seq, void *ctxt)
 {  {
         Authctxt *authctxt = ctxt;          Authctxt *authctxt = ctxt;
         Authmethod *m = NULL;          Authmethod *m = NULL;

Legend:
Removed from v.1.77  
changed lines
  Added in v.1.78