[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.14 and 1.15

version 1.14, 2000/09/07 20:27:49 version 1.15, 2000/09/21 11:25:32
Line 59 
Line 59 
   
 /* protocol */  /* protocol */
   
 void    input_service_request(int type, int plen);  void    input_service_request(int type, int plen, void *ctxt);
 void    input_userauth_request(int type, int plen);  void    input_userauth_request(int type, int plen, void *ctxt);
 void    protocol_error(int type, int plen);  void    protocol_error(int type, int plen, void *ctxt);
   
 /* auth */  /* auth */
 int     ssh2_auth_none(struct passwd *pw);  int     ssh2_auth_none(struct passwd *pw);
Line 99 
Line 99 
   
         dispatch_init(&protocol_error);          dispatch_init(&protocol_error);
         dispatch_set(SSH2_MSG_SERVICE_REQUEST, &input_service_request);          dispatch_set(SSH2_MSG_SERVICE_REQUEST, &input_service_request);
         dispatch_run(DISPATCH_BLOCK, &userauth_success);          dispatch_run(DISPATCH_BLOCK, &userauth_success, NULL);
         do_authenticated2();          do_authenticated2();
 }  }
   
 void  void
 protocol_error(int type, int plen)  protocol_error(int type, int plen, 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);
Line 114 
Line 114 
 }  }
   
 void  void
 input_service_request(int type, int plen)  input_service_request(int type, int plen, void *ctxt)
 {  {
         unsigned int len;          unsigned int len;
         int accept = 0;          int accept = 0;
Line 143 
Line 143 
 }  }
   
 void  void
 input_userauth_request(int type, int plen)  input_userauth_request(int type, int plen, void *ctxt)
 {  {
         static void (*authlog) (const char *fmt,...) = verbose;          static void (*authlog) (const char *fmt,...) = verbose;
         static int attempt = 0;          static int attempt = 0;

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15