[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.20.2.2 and 1.20.2.3

version 1.20.2.2, 2001/02/19 17:18:39 version 1.20.2.3, 2001/03/21 19:46:22
Line 30 
Line 30 
 #include "ssh2.h"  #include "ssh2.h"
 #include "xmalloc.h"  #include "xmalloc.h"
 #include "rsa.h"  #include "rsa.h"
 #include "pty.h"  #include "sshpty.h"
 #include "packet.h"  #include "packet.h"
 #include "buffer.h"  #include "buffer.h"
 #include "log.h"  #include "log.h"
Line 47 
Line 47 
 #include "pathnames.h"  #include "pathnames.h"
 #include "uidswap.h"  #include "uidswap.h"
 #include "auth-options.h"  #include "auth-options.h"
   #include "misc.h"
   
 /* import */  /* import */
 extern ServerOptions options;  extern ServerOptions options;
Line 71 
Line 72 
   
 /* helper */  /* helper */
 Authmethod      *authmethod_lookup(const char *name);  Authmethod      *authmethod_lookup(const char *name);
 struct passwd   *pwcopy(struct passwd *pw);  
 int     user_key_allowed(struct passwd *pw, Key *key);  int     user_key_allowed(struct passwd *pw, Key *key);
 char    *authmethods_get(void);  char    *authmethods_get(void);
   
Line 576 
Line 576 
                 }                  }
                 if (fail) {                  if (fail) {
                         fclose(f);                          fclose(f);
                         log("%s",buf);                          log("%s", buf);
                         restore_uid();                          restore_uid();
                         return 0;                          return 0;
                 }                  }
Line 624 
Line 624 
         restore_uid();          restore_uid();
         fclose(f);          fclose(f);
         key_free(found);          key_free(found);
           if (!found_key)
                   debug2("key not found");
         return found_key;          return found_key;
 }  }

Legend:
Removed from v.1.20.2.2  
changed lines
  Added in v.1.20.2.3