| Index: extensions/browser/api/cast_channel/cast_auth_util.cc
|
| diff --git a/extensions/browser/api/cast_channel/cast_auth_util.cc b/extensions/browser/api/cast_channel/cast_auth_util.cc
|
| index 451058b03581e12b9f2ddaa05787490161588138..579d269ad1204624aa26cc56f195bc01617df4f3 100644
|
| --- a/extensions/browser/api/cast_channel/cast_auth_util.cc
|
| +++ b/extensions/browser/api/cast_channel/cast_auth_util.cc
|
| @@ -151,9 +151,11 @@ AuthResult VerifyCredentials(const AuthResponse& response,
|
| base::Time::Exploded now;
|
| base::Time::Now().UTCExplode(&now);
|
|
|
| + // CRL should not be enforced until it is served.
|
| cast_crypto::CastDeviceCertPolicy device_policy;
|
| - if (!cast_crypto::VerifyDeviceCert(cert_chain, now, &verification_context,
|
| - &device_policy)) {
|
| + if (!cast_crypto::VerifyDeviceCert(
|
| + cert_chain, now, &verification_context, &device_policy, nullptr,
|
| + cast_certificate::CRLPolicy::CRL_OPTIONAL)) {
|
| // TODO(eroman): The error information was lost; this error is ambiguous.
|
| return AuthResult("Failed verifying cast device certificate",
|
| AuthResult::ERROR_CERT_NOT_SIGNED_BY_TRUSTED_CA);
|
|
|