Index: net/cert/x509_certificate_nss.cc |
diff --git a/net/cert/x509_certificate_nss.cc b/net/cert/x509_certificate_nss.cc |
index f6fdd94ab6b88807016b6d798ae0a57928424137..ea2c3505d0a10e0607cbd03e5bcbc9ba50de13da 100644 |
--- a/net/cert/x509_certificate_nss.cc |
+++ b/net/cert/x509_certificate_nss.cc |
@@ -152,10 +152,6 @@ void X509Certificate::GetSubjectAltName( |
x509_util::GetSubjectAltName(cert_handle_, dns_names, ip_addrs); |
} |
-bool X509Certificate::VerifyNameMatch(const std::string& hostname) const { |
- return CERT_VerifyCertName(cert_handle_, hostname.c_str()) == SECSuccess; |
-} |
- |
bool X509Certificate::IsIssuedByEncoded( |
const std::vector<std::string>& valid_issuers) { |
// Get certificate chain as scoped list of CERTCertificate objects. |