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

Diff for /src/usr.bin/ssh/auth-passwd.c between version 1.31.4.2 and 1.32

version 1.31.4.2, 2005/09/02 03:44:59 version 1.32, 2005/01/21 08:32:02
Line 101 
Line 101 
   
         pwtimeleft = auth_check_change(as);          pwtimeleft = auth_check_change(as);
         actimeleft = auth_check_expire(as);          actimeleft = auth_check_expire(as);
 #ifdef HAVE_LOGIN_CAP  #if HAVE_LOGIN_CAP
         if (authctxt->valid) {          if (authctxt->valid) {
                 pwwarntime = login_getcaptime(lc, "password-warn", TWO_WEEKS,                  pwwarntime = login_getcaptime(lc, "password-warn", TWO_WEEKS,
                     TWO_WEEKS);                      TWO_WEEKS);
Line 134 
Line 134 
   
         as = auth_usercheck(pw->pw_name, authctxt->style, "auth-ssh",          as = auth_usercheck(pw->pw_name, authctxt->style, "auth-ssh",
             (char *)password);              (char *)password);
         if (as == NULL)  
                 return (0);  
         if (auth_getstate(as) & AUTH_PWEXPIRED) {          if (auth_getstate(as) & AUTH_PWEXPIRED) {
                 auth_close(as);                  auth_close(as);
                 disable_forwarding();                  disable_forwarding();

Legend:
Removed from v.1.31.4.2  
changed lines
  Added in v.1.32