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

Unified Diff: components/cast_certificate/cast_crl.h

Issue 2205403002: Add production Cast CRL certificate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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: components/cast_certificate/cast_crl.h
diff --git a/components/cast_certificate/cast_crl.h b/components/cast_certificate/cast_crl.h
index e95faf4861d630d3a37aa224b82dfe3c8d1842e3..16e60b8d80f572277c3004fa0fc69403df0b0aa3 100644
--- a/components/cast_certificate/cast_crl.h
+++ b/components/cast_certificate/cast_crl.h
@@ -59,6 +59,11 @@ std::unique_ptr<CastCRL> ParseAndVerifyCRL(const std::string& crl_proto,
// Returns true if successful, false if nothing is changed.
bool SetCRLTrustAnchorForTest(const std::string& cert) WARN_UNUSED_RESULT;
+// Exposed only for testing, not for use in production code.
+//
+// Resets CastCRLTrustStore to the default set of roots.
+void ResetCRLTrustAnchorForTest();
+
} // namespace cast_certificate
#endif // COMPONENTS_CAST_CERTIFICATE_CAST_CRL_H_

Powered by Google App Engine
This is Rietveld 408576698