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

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

Issue 2292333002: Add errors per ResultPath for CertPathBuilder. (Closed)
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: net/cert/internal/verify_certificate_chain.h
diff --git a/net/cert/internal/verify_certificate_chain.h b/net/cert/internal/verify_certificate_chain.h
index 6b53d9971cc1f5b326d69e2fbaaa48f354b5f4ba..9279404e4db9e1075aa9bb473046b05bd4ca6e8d 100644
--- a/net/cert/internal/verify_certificate_chain.h
+++ b/net/cert/internal/verify_certificate_chain.h
@@ -47,8 +47,8 @@ class TrustStore;
// * cert_chain[N-1] must be issued by the trust anchor.
//
// trust_anchor:
-// Contains the trust anchor (root) used to verify the chain. Must be
-// non-null.
+// Contains the trust anchor (root) used to verify the chain. Should be
+// non-null (null is allowed however will result in a failure).
//
// signature_policy:
// The policy to use when verifying signatures (what hash algorithms are
@@ -97,6 +97,7 @@ extern CertErrorType kSignatureVerificationFailed;
extern CertErrorType kValidityFailedNotAfter;
extern CertErrorType kValidityFailedNotBefore;
extern CertErrorType kSignatureAlgorithmsDifferentEncoding;
+extern CertErrorType kNullTrustAnchor;
} // namespace verify_certificate_chain_errors

Powered by Google App Engine
This is Rietveld 408576698