Index: net/base/x509_cert_types.cc |
diff --git a/net/base/x509_cert_types.cc b/net/base/x509_cert_types.cc |
index 9c1369d11d32b598b84819c50d0f763c64f6a110..5dfc57acfa529a45353ce991fc221c4f739c80f4 100644 |
--- a/net/base/x509_cert_types.cc |
+++ b/net/base/x509_cert_types.cc |
@@ -36,6 +36,13 @@ bool match(const std::vector<std::string> &rdn1, |
return true; |
} |
+CertPrincipal::CertPrincipal() { |
+} |
+ |
+CertPrincipal::CertPrincipal(const std::string& name) : common_name(name) {} |
+ |
+CertPrincipal::~CertPrincipal() { |
+} |
bool CertPrincipal::Matches(const CertPrincipal& against) const { |
return match(common_name, against.common_name) && |
@@ -81,6 +88,12 @@ std::ostream& operator<<(std::ostream& s, const CertPrincipal& p) { |
return s << "]"; |
} |
+CertPolicy::CertPolicy() { |
+} |
+ |
+CertPolicy::~CertPolicy() { |
+} |
+ |
CertPolicy::Judgment CertPolicy::Check( |
X509Certificate* cert) const { |
// It shouldn't matter which set we check first, but we check denied first |