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

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

Issue 2860853003: Add tests for VerifyCertificateChain() when the last certificate is not (Closed)
Patch Set: update for ios Created 3 years, 7 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
« no previous file with comments | « net/BUILD.gn ('k') | net/cert/internal/verify_certificate_chain_typed_unittest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/internal/verify_certificate_chain.cc
diff --git a/net/cert/internal/verify_certificate_chain.cc b/net/cert/internal/verify_certificate_chain.cc
index 1a0010e90a4fb1e59dfa045c5ac17a128dc07ac0..d2f1c9bc799340fee285d4983b2a4f0214a433fd 100644
--- a/net/cert/internal/verify_certificate_chain.cc
+++ b/net/cert/internal/verify_certificate_chain.cc
@@ -519,9 +519,6 @@ void ProcessRootCertificate(
break;
case CertificateTrustType::DISTRUSTED:
// Chains to an actively distrusted certificate.
- //
- // TODO(eroman): There are not currently any verification or path building
- // tests for the distrusted case.
errors->AddError(kCertIsDistrusted);
break;
case CertificateTrustType::TRUSTED_ANCHOR:
« no previous file with comments | « net/BUILD.gn ('k') | net/cert/internal/verify_certificate_chain_typed_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698