crypto: fix typo in unittest found by thakis's new compiler warning.
(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
This commit is contained in:
@ -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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user