Index: net/cert/cert_verify_proc_nss.cc |
diff --git a/net/cert/cert_verify_proc_nss.cc b/net/cert/cert_verify_proc_nss.cc |
index 59cfa03235a9aa633be6228ae3e48ee25f8998a8..27558f79d36a4a73e1010cf975d53357b083e47f 100644 |
--- a/net/cert/cert_verify_proc_nss.cc |
+++ b/net/cert/cert_verify_proc_nss.cc |
@@ -798,11 +798,6 @@ int CertVerifyProcNSS::VerifyInternalImpl( |
nullptr); |
} |
- if (!cert->VerifyNameMatch(hostname, |
- &verify_result->common_name_fallback_used)) { |
- verify_result->cert_status |= CERT_STATUS_COMMON_NAME_INVALID; |
- } |
- |
// Setup a callback to call into CheckChainRevocationWithCRLSet with the |
// current CRLSet. If the CRLSet revokes a given chain, |was_revoked| |
// will be set to true. |