[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.138 and 1.139

version 1.138, 2017/05/30 14:18:15 version 1.139, 2017/05/30 14:23:52
Line 83 
Line 83 
   
 /* protocol */  /* protocol */
   
 static int input_service_request(int, u_int32_t, void *);  static int input_service_request(int, u_int32_t, struct ssh *);
 static int input_userauth_request(int, u_int32_t, void *);  static int input_userauth_request(int, u_int32_t, struct ssh *);
   
 /* helper */  /* helper */
 static Authmethod *authmethod_lookup(Authctxt *, const char *);  static Authmethod *authmethod_lookup(Authctxt *, const char *);
Line 165 
Line 165 
   
 /*ARGSUSED*/  /*ARGSUSED*/
 static int  static int
 input_service_request(int type, u_int32_t seq, void *ctxt)  input_service_request(int type, u_int32_t seq, struct ssh *ssh)
 {  {
         struct ssh *ssh = ctxt;  
         Authctxt *authctxt = ssh->authctxt;          Authctxt *authctxt = ssh->authctxt;
         u_int len;          u_int len;
         int acceptit = 0;          int acceptit = 0;
Line 201 
Line 200 
   
 /*ARGSUSED*/  /*ARGSUSED*/
 static int  static int
 input_userauth_request(int type, u_int32_t seq, void *ctxt)  input_userauth_request(int type, u_int32_t seq, struct ssh *ssh)
 {  {
         struct ssh *ssh = ctxt;  
         Authctxt *authctxt = ssh->authctxt;          Authctxt *authctxt = ssh->authctxt;
         Authmethod *m = NULL;          Authmethod *m = NULL;
         char *user, *service, *method, *style = NULL;          char *user, *service, *method, *style = NULL;

Legend:
Removed from v.1.138  
changed lines
  Added in v.1.139