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

Unified Diff: net/base/cert_database_nss_unittest.cc

Issue 7969023: For the SSL cert status, convert anonymous enum that gives bit values into a typedefed uint32. Th... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/tab_contents/tab_contents.cc ('k') | net/base/cert_status_flags.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cert_database_nss_unittest.cc
===================================================================
--- net/base/cert_database_nss_unittest.cc (revision 102325)
+++ net/base/cert_database_nss_unittest.cc (working copy)
@@ -542,7 +542,7 @@
CertVerifyResult verify_result;
int error = goog_cert->Verify("www.google.com", flags, &verify_result);
EXPECT_EQ(OK, error);
- EXPECT_EQ(0, verify_result.cert_status);
+ EXPECT_EQ(0U, verify_result.cert_status);
}
TEST_F(CertDatabaseNSSTest, ImportServerCert_SelfSigned) {
@@ -578,7 +578,7 @@
verify_result.Reset();
error = puny_cert->Verify("xn--wgv71a119e.com", flags, &verify_result);
EXPECT_EQ(OK, error);
- EXPECT_EQ(0, verify_result.cert_status);
+ EXPECT_EQ(0U, verify_result.cert_status);
}
} // namespace net
« no previous file with comments | « content/browser/tab_contents/tab_contents.cc ('k') | net/base/cert_status_flags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698