[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.134 and 1.135

version 1.134, 2014/12/22 07:55:51 version 1.135, 2015/01/19 20:07:45
Line 83 
Line 83 
   
 /* protocol */  /* protocol */
   
 static void input_service_request(int, u_int32_t, void *);  static int input_service_request(int, u_int32_t, void *);
 static void input_userauth_request(int, u_int32_t, void *);  static int input_userauth_request(int, u_int32_t, void *);
   
 /* helper */  /* helper */
 static Authmethod *authmethod_lookup(Authctxt *, const char *);  static Authmethod *authmethod_lookup(Authctxt *, const char *);
Line 161 
Line 161 
 }  }
   
 /*ARGSUSED*/  /*ARGSUSED*/
 static void  static int
 input_service_request(int type, u_int32_t seq, void *ctxt)  input_service_request(int type, u_int32_t seq, void *ctxt)
 {  {
         Authctxt *authctxt = ctxt;          Authctxt *authctxt = ctxt;
Line 192 
Line 192 
                 packet_disconnect("bad service request %s", service);                  packet_disconnect("bad service request %s", service);
         }          }
         free(service);          free(service);
           return 0;
 }  }
   
 /*ARGSUSED*/  /*ARGSUSED*/
 static void  static int
 input_userauth_request(int type, u_int32_t seq, void *ctxt)  input_userauth_request(int type, u_int32_t seq, void *ctxt)
 {  {
         Authctxt *authctxt = ctxt;          Authctxt *authctxt = ctxt;
Line 264 
Line 265 
         free(service);          free(service);
         free(user);          free(user);
         free(method);          free(method);
           return 0;
 }  }
   
 void  void

Legend:
Removed from v.1.134  
changed lines
  Added in v.1.135