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

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

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/cert_errors.cc ('k') | net/cert/internal/verify_certificate_chain.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/internal/signature_policy.cc
diff --git a/net/cert/internal/signature_policy.cc b/net/cert/internal/signature_policy.cc
index dae861f2930561d931d328a4dde231782b5384b0..6a1c2a9936d86b5dba97145c367b84d9a2e782e7 100644
--- a/net/cert/internal/signature_policy.cc
+++ b/net/cert/internal/signature_policy.cc
@@ -13,11 +13,11 @@ namespace net {
namespace {
-DEFINE_CERT_ERROR_TYPE(kUnacceptableCurveForEcdsa,
- "Only P-256, P-384, P-521 are supported for ECDSA");
-DEFINE_CERT_ERROR_TYPE(kRsaModulusLessThan2048,
- "RSA modulus must be at least 2048 bits");
-DEFINE_CERT_ERROR_TYPE(kRsaModulusTooSmall, "RSA modulus too small");
+DEFINE_CERT_ERROR_ID(kUnacceptableCurveForEcdsa,
+ "Only P-256, P-384, P-521 are supported for ECDSA");
+DEFINE_CERT_ERROR_ID(kRsaModulusLessThan2048,
+ "RSA modulus must be at least 2048 bits");
+DEFINE_CERT_ERROR_ID(kRsaModulusTooSmall, "RSA modulus too small");
} // namespace
« no previous file with comments | « net/cert/internal/cert_errors.cc ('k') | net/cert/internal/verify_certificate_chain.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698