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

Unified Diff: chrome/common/net/x509_certificate_model_unittest.cc

Issue 691593002: Fix OpenSSL x509 unit test build breakage by adding a missing getter for a scoped_refptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/x509_certificate_model_unittest.cc
diff --git a/chrome/common/net/x509_certificate_model_unittest.cc b/chrome/common/net/x509_certificate_model_unittest.cc
index 89eebae79a682d49d7879ce20484f6fdf2996381..418971435606eb9068225f61bf92c4720e42cf03 100644
--- a/chrome/common/net/x509_certificate_model_unittest.cc
+++ b/chrome/common/net/x509_certificate_model_unittest.cc
@@ -318,7 +318,7 @@ TEST(X509CertificateModelTest, GetCMSString) {
ASSERT_EQ(certs.size(), decoded_certs.size());
#if defined(USE_OPENSSL)
for (size_t i = 0; i < certs.size(); ++i)
- EXPECT_TRUE(certs[i]->Equals(decoded_certs[i]));
+ EXPECT_TRUE(certs[i]->Equals(decoded_certs[i].get()));
#else
// NSS sorts the certs before writing the file.
EXPECT_TRUE(certs[0]->Equals(decoded_certs.back().get()));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698