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

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

Issue 2329593002: Add optional context for certificate errors. (Closed)
Patch Set: Address Matt's comments 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
« no previous file with comments | « net/cert/internal/signature_policy.cc ('k') | net/cert/internal/verify_certificate_chain.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9eb885b8e14595b9af7588e7c379079d8fda5c52..b468412eebcfa41ddd9bfeb56f1f669236de8a72 100644
--- a/net/cert/internal/verify_certificate_chain.h
+++ b/net/cert/internal/verify_certificate_chain.h
@@ -82,21 +82,21 @@ NET_EXPORT bool VerifyCertificateChain(const ParsedCertificateList& certs,
namespace verify_certificate_chain_errors {
// TODO(eroman): Document each of these and their parameters.
-extern CertErrorType kSignatureAlgorithmMismatch;
-extern CertErrorType kInvalidOrUnsupportedAlgorithm;
-extern CertErrorType kChainIsEmpty;
-extern CertErrorType kUnconsumedCriticalExtension;
-extern CertErrorType kTargetCertInconsistentCaBits;
-extern CertErrorType kKeyCertSignBitNotSet;
-extern CertErrorType kMaxPathLengthViolated;
-extern CertErrorType kBasicConstraintsIndicatesNotCa;
-extern CertErrorType kMissingBasicConstraints;
-extern CertErrorType kNotPermittedByNameConstraints;
-extern CertErrorType kSubjectDoesNotMatchIssuer;
-extern CertErrorType kVerifySignedDataFailed;
-extern CertErrorType kValidityFailedNotAfter;
-extern CertErrorType kValidityFailedNotBefore;
-extern CertErrorType kSignatureAlgorithmsDifferentEncoding;
+extern CertErrorId kSignatureAlgorithmMismatch;
+extern CertErrorId kInvalidOrUnsupportedSignatureAlgorithm;
+extern CertErrorId kChainIsEmpty;
+extern CertErrorId kUnconsumedCriticalExtension;
+extern CertErrorId kTargetCertInconsistentCaBits;
+extern CertErrorId kKeyCertSignBitNotSet;
+extern CertErrorId kMaxPathLengthViolated;
+extern CertErrorId kBasicConstraintsIndicatesNotCa;
+extern CertErrorId kMissingBasicConstraints;
+extern CertErrorId kNotPermittedByNameConstraints;
+extern CertErrorId kSubjectDoesNotMatchIssuer;
+extern CertErrorId kVerifySignedDataFailed;
+extern CertErrorId kValidityFailedNotAfter;
+extern CertErrorId kValidityFailedNotBefore;
+extern CertErrorId kSignatureAlgorithmsDifferentEncoding;
} // namespace verify_certificate_chain_errors
« no previous file with comments | « net/cert/internal/signature_policy.cc ('k') | net/cert/internal/verify_certificate_chain.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698