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

Unified Diff: net/cert/internal/trust_store_mac_unittest.cc

Issue 2832703002: Allow the TrustStore interface to return matching intermediates, and identify distrusted certs. (Closed)
Patch Set: mac fix Created 3 years, 8 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
Index: net/cert/internal/trust_store_mac_unittest.cc
diff --git a/net/cert/internal/trust_store_mac_unittest.cc b/net/cert/internal/trust_store_mac_unittest.cc
index bba5995eb6cafff29a5a07ceb6f791a1b06b6e59..468fe2498b931ce1ea38c7f1a8f0860e3388bd40 100644
--- a/net/cert/internal/trust_store_mac_unittest.cc
+++ b/net/cert/internal/trust_store_mac_unittest.cc
@@ -196,7 +196,8 @@ TEST(TrustStoreMacTest, MultiRootNotTrusted) {
for (const auto& cert :
{a_by_b, b_by_c, b_by_f, c_by_d, c_by_e, f_by_e, d_by_d, e_by_e}) {
TrustAnchors matching_anchors;
- trust_store.FindTrustAnchorsForCert(cert, &matching_anchors);
+ ParsedCertificateList matching_intermediates;
+ trust_store.FindIssuers(cert, &matching_anchors, &matching_intermediates);
EXPECT_EQ(0u, matching_anchors.size());
}
}

Powered by Google App Engine
This is Rietveld 408576698