Skip to content

Commit

Permalink
Fix for 64-bits, 32-bit size_t assumption.
Browse files Browse the repository at this point in the history
BUG=362031, 346626

Review URL: https://codereview.chromium.org/239993005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265710 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
anton@chromium.org committed Apr 23, 2014
1 parent 70bc8cb commit 865694f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/hmac_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ TEST(HMACTest, EmptyKey) {
const char* kExpectedDigest =
"\xFB\xDB\x1D\x1B\x18\xAA\x6C\x08\x32\x4B\x7D\x64\xB7\x1F\xB7\x63"
"\x70\x69\x0E\x1D";
base::StringPiece data("", 0u);
base::StringPiece data("");

crypto::HMAC hmac(crypto::HMAC::SHA1);
ASSERT_TRUE(hmac.Init(NULL, 0));
Expand Down

0 comments on commit 865694f

Please sign in to comment.