[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.22 and 1.23

version 1.22, 2000/12/03 11:15:02 version 1.23, 2000/12/19 23:17:55
Line 52 
Line 52 
   
 /* import */  /* import */
 extern ServerOptions options;  extern ServerOptions options;
 extern unsigned char *session_id2;  extern u_char *session_id2;
 extern int session_id2_len;  extern int session_id2_len;
   
 static Authctxt *x_authctxt = NULL;  static Authctxt *x_authctxt = NULL;
Line 138 
Line 138 
 input_service_request(int type, int plen, void *ctxt)  input_service_request(int type, int plen, void *ctxt)
 {  {
         Authctxt *authctxt = ctxt;          Authctxt *authctxt = ctxt;
         unsigned int len;          u_int len;
         int accept = 0;          int accept = 0;
         char *service = packet_get_string(&len);          char *service = packet_get_string(&len);
         packet_done();          packet_done();
Line 315 
Line 315 
         char *password;          char *password;
         int authenticated = 0;          int authenticated = 0;
         int change;          int change;
         unsigned int len;          u_int len;
         change = packet_get_char();          change = packet_get_char();
         if (change)          if (change)
                 log("password change not supported");                  log("password change not supported");
Line 357 
Line 357 
         Buffer b;          Buffer b;
         Key *key;          Key *key;
         char *pkalg, *pkblob, *sig;          char *pkalg, *pkblob, *sig;
         unsigned int alen, blen, slen;          u_int alen, blen, slen;
         int have_sig, pktype;          int have_sig, pktype;
         int authenticated = 0;          int authenticated = 0;
   
Line 467 
Line 467 
 authmethods_get(void)  authmethods_get(void)
 {  {
         Authmethod *method = NULL;          Authmethod *method = NULL;
         unsigned int size = 0;          u_int size = 0;
         char *list;          char *list;
   
         for (method = authmethods; method->name != NULL; method++) {          for (method = authmethods; method->name != NULL; method++) {
Line 516 
Line 516 
         char line[8192], file[1024];          char line[8192], file[1024];
         int found_key = 0;          int found_key = 0;
         FILE *f;          FILE *f;
         unsigned long linenum = 0;          u_long linenum = 0;
         struct stat st;          struct stat st;
         Key *found;          Key *found;
   

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23