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

Diff for /src/usr.bin/ssh/auth2-passwd.c between version 1.10 and 1.11

version 1.10, 2013/05/17 00:13:13 version 1.11, 2014/02/02 03:44:31
Line 57 
Line 57 
         if (change) {          if (change) {
                 /* discard new password from packet */                  /* discard new password from packet */
                 newpass = packet_get_string(&newlen);                  newpass = packet_get_string(&newlen);
                 memset(newpass, 0, newlen);                  explicit_bzero(newpass, newlen);
                 free(newpass);                  free(newpass);
         }          }
         packet_check_eom();          packet_check_eom();
Line 66 
Line 66 
                 logit("password change not supported");                  logit("password change not supported");
         else if (PRIVSEP(auth_password(authctxt, password)) == 1)          else if (PRIVSEP(auth_password(authctxt, password)) == 1)
                 authenticated = 1;                  authenticated = 1;
         memset(password, 0, len);          explicit_bzero(password, len);
         free(password);          free(password);
         return authenticated;          return authenticated;
 }  }

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11