From 85da3cd34889d30d990e9aa0421451fd3a897de6 Mon Sep 17 00:00:00 2001 From: "agl@chromium.org" Date: Sat, 21 Dec 2013 12:34:45 +0000 Subject: 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 --- crypto/p224_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/p224_unittest.cc') diff --git a/crypto/p224_unittest.cc b/crypto/p224_unittest.cc index ef9e305..aaf5f59 100644 --- a/crypto/p224_unittest.cc +++ b/crypto/p224_unittest.cc @@ -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()); } -- cgit v1.1