[BACK]Return to auth.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/auth.c between version 1.17 and 1.18

version 1.17, 2001/02/12 16:16:23 version 1.18, 2001/02/22 21:59:43
Line 120 
Line 120 
         return authctxt;          return authctxt;
 }  }
   
 struct passwd *  
 pwcopy(struct passwd *pw)  
 {  
         struct passwd *copy = xmalloc(sizeof(*copy));  
         memset(copy, 0, sizeof(*copy));  
         copy->pw_name = xstrdup(pw->pw_name);  
         copy->pw_passwd = xstrdup(pw->pw_passwd);  
         copy->pw_uid = pw->pw_uid;  
         copy->pw_gid = pw->pw_gid;  
         copy->pw_class = xstrdup(pw->pw_class);  
         copy->pw_dir = xstrdup(pw->pw_dir);  
         copy->pw_shell = xstrdup(pw->pw_shell);  
         return copy;  
 }  
   
 void  void
 auth_log(Authctxt *authctxt, int authenticated, char *method, char *info)  auth_log(Authctxt *authctxt, int authenticated, char *method, char *info)
 {  {

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18