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..2d098de7c961c3aaf5a70d34a0aefea9a57cc28b 100644 |
--- a/net/cert/internal/verify_certificate_chain.cc |
+++ b/net/cert/internal/verify_certificate_chain.cc |
@@ -24,6 +24,7 @@ namespace net { |
DEFINE_CERT_ERROR_ID(kValidityFailedNotAfter, "Time is after notAfter"); |
DEFINE_CERT_ERROR_ID(kValidityFailedNotBefore, "Time is before notBefore"); |
+DEFINE_CERT_ERROR_ID(kCertIsDistrusted, "Certificate is distrusted"); |
namespace { |
@@ -62,7 +63,6 @@ DEFINE_CERT_ERROR_ID(kEkuLacksServerAuth, |
"The extended key usage does not include server auth"); |
DEFINE_CERT_ERROR_ID(kEkuLacksClientAuth, |
"The extended key usage does not include client auth"); |
-DEFINE_CERT_ERROR_ID(kCertIsDistrusted, "Certificate is distrusted"); |
DEFINE_CERT_ERROR_ID(kCertIsNotTrustAnchor, |
"Certificate is not a trust anchor"); |