Skip to content

Commit

Permalink
crypto: fix typo in unittest found by thakis's new compiler warning.
Browse files Browse the repository at this point in the history
(Note: landing unreviewed because it's trivial, the weekend before Xmas
and I'll forget about it if I leave it until after the vacation.)

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242277 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
agl@chromium.org committed Dec 21, 2013
1 parent 8855e98 commit 85da3cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/p224_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ TEST(P224, Addition) {

p224::Negate(b, &minus_b);
p224::Add(a, b, &sum);
EXPECT_TRUE(memcmp(&sum, &a, sizeof(sum) != 0));
EXPECT_TRUE(memcmp(&sum, &a, sizeof(sum)) != 0);
p224::Add(minus_b, sum, &a_again);
EXPECT_TRUE(a_again.ToString() == a.ToString());
}
Expand Down

0 comments on commit 85da3cd

Please sign in to comment.