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

Unified Diff: components/cast_certificate/cast_cert_validator_unittest.cc

Issue 2303673004: Hook up Chrome Cast sender to Cast CRL. (Closed)
Patch Set: Cleaned up unused headers. Created 4 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
Index: components/cast_certificate/cast_cert_validator_unittest.cc
diff --git a/components/cast_certificate/cast_cert_validator_unittest.cc b/components/cast_certificate/cast_cert_validator_unittest.cc
index d3de949d5719d441176028538a436d1afa7b2777..16d3ed03aa7082ccf3d711d251e0e677123af7f2 100644
--- a/components/cast_certificate/cast_cert_validator_unittest.cc
+++ b/components/cast_certificate/cast_cert_validator_unittest.cc
@@ -108,10 +108,10 @@ void RunTest(TestResult expected_result,
CastDeviceCertPolicy policy;
bool result;
- if (trust_store.get()) {
- result =
- VerifyDeviceCertForTest(certs, time, &context, &policy, nullptr,
- CRLPolicy::CRL_OPTIONAL, trust_store.get());
+ if (trust_store) {
+ result = VerifyDeviceCertUsingCustomTrustStore(
+ certs, time, &context, &policy, nullptr, CRLPolicy::CRL_OPTIONAL,
+ trust_store.get());
} else {
result = VerifyDeviceCert(certs, time, &context, &policy, nullptr,
CRLPolicy::CRL_OPTIONAL);

Powered by Google App Engine
This is Rietveld 408576698