[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.9 and 1.10

version 1.9, 2006/08/03 03:34:41 version 1.10, 2013/05/17 00:13:13
Line 58 
Line 58 
                 /* discard new password from packet */                  /* discard new password from packet */
                 newpass = packet_get_string(&newlen);                  newpass = packet_get_string(&newlen);
                 memset(newpass, 0, newlen);                  memset(newpass, 0, newlen);
                 xfree(newpass);                  free(newpass);
         }          }
         packet_check_eom();          packet_check_eom();
   
Line 67 
Line 67 
         else if (PRIVSEP(auth_password(authctxt, password)) == 1)          else if (PRIVSEP(auth_password(authctxt, password)) == 1)
                 authenticated = 1;                  authenticated = 1;
         memset(password, 0, len);          memset(password, 0, len);
         xfree(password);          free(password);
         return authenticated;          return authenticated;
 }  }
   

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