| commit | d91f84376fe8dd249770ac19b7c08f8fcc20f446 | [log] [tgz] |
|---|---|---|
| author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue May 05 23:55:59 2009 |
| committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue May 05 23:55:59 2009 |
| tree | 8d66a665eac06063bfcf50236fca05f2e4f8f1ea | |
| parent | a92b86497b6ee02c99a2e4b4a8cf7fb458ab6310 [diff] |
Separate the key setting code in the constructor of HMAC class into the Init method. Overload the Init method for char* and std::string. Add DCHECKs to the destruction methods in ~HMAC in hmac_win.cc. The patch is written by Takeshi Yoshino <[email protected]>. Original code review: http://codereview.chromium.org/88062 R=wtc http://crbug.com/2297 TEST=base_unittests should pass. Safe browsing should continue to work. Review URL: http://codereview.chromium.org/113001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15353 0039d316-1c4b-4281-b951-d872f2087c98