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

Diff for /src/usr.bin/ssh/Attic/auth1.c between version 1.79 and 1.80

version 1.79, 2013/05/19 02:42:42 version 1.80, 2014/02/02 03:44:31
Line 122 
Line 122 
         /* Try authentication with the password. */          /* Try authentication with the password. */
         authenticated = PRIVSEP(auth_password(authctxt, password));          authenticated = PRIVSEP(auth_password(authctxt, password));
   
         memset(password, 0, dlen);          explicit_bzero(password, dlen);
         free(password);          free(password);
   
         return (authenticated);          return (authenticated);
Line 217 
Line 217 
         response = packet_get_string(&dlen);          response = packet_get_string(&dlen);
         packet_check_eom();          packet_check_eom();
         authenticated = verify_response(authctxt, response);          authenticated = verify_response(authctxt, response);
         memset(response, 'r', dlen);          explicit_bzero(response, dlen);
         free(response);          free(response);
   
         return (authenticated);          return (authenticated);

Legend:
Removed from v.1.79  
changed lines
  Added in v.1.80