Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Issue 113001: Separate the key setting code in the constructor of HMAC class into the Init... (Closed)

Created:
11 years, 7 months ago by wtc
Modified:
9 years, 7 months ago
Reviewers:
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

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 <tyoshino@google.com>;. 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. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=15353

Patch Set 1 #

Patch Set 2 : Test upload #

Patch Set 3 : Test upload #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -25 lines) Patch
M base/hmac.h View 1 chunk +15 lines, -4 lines 0 comments Download
M base/hmac_mac.cc View 1 chunk +14 lines, -1 line 0 comments Download
M base/hmac_nss.cc View 3 chunks +31 lines, -3 lines 0 comments Download
M base/hmac_unittest.cc View 3 chunks +7 lines, -6 lines 0 comments Download
M base/hmac_win.cc View 2 chunks +33 lines, -8 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_util.cc View 1 chunk +3 lines, -3 lines 0 comments Download

Powered by Google App Engine
This is Rietveld 408576698