| Index: components/cast_certificate/cast_cert_validator.cc
|
| diff --git a/components/cast_certificate/cast_cert_validator.cc b/components/cast_certificate/cast_cert_validator.cc
|
| index 3e9bb222a2663bc9fb0fc8a33098d4826faaa013..65a3154dcf4dd65594b7f3f1fa1b48edf30bd087 100644
|
| --- a/components/cast_certificate/cast_cert_validator.cc
|
| +++ b/components/cast_certificate/cast_cert_validator.cc
|
| @@ -72,10 +72,9 @@ class CastTrustStore {
|
| data, N, net::ParsedCertificate::DataSource::EXTERNAL_REFERENCE,
|
| {});
|
| CHECK(cert);
|
| - // TODO(crbug.com/635200): Support anchor constraints, and initialize the
|
| - // anchor using constraints from the self-signed certificate.
|
| + // Enforce pathlen constraints and policies defined on the root certificate.
|
| scoped_refptr<net::TrustAnchor> anchor =
|
| - net::TrustAnchor::CreateFromCertificateNoConstraints(std::move(cert));
|
| + net::TrustAnchor::CreateFromCertificateWithConstraints(std::move(cert));
|
| store_.AddTrustAnchor(std::move(anchor));
|
| }
|
|
|
|
|