Index: net/cert/cert_verify_proc_win.cc |
diff --git a/net/cert/cert_verify_proc_win.cc b/net/cert/cert_verify_proc_win.cc |
index 373b43cbe8e77263496167e5f5e8caa47833a868..a4e3941a7899ca625342b3bccc33d09f29666dc7 100644 |
--- a/net/cert/cert_verify_proc_win.cc |
+++ b/net/cert/cert_verify_proc_win.cc |
@@ -1193,13 +1193,6 @@ int CertVerifyProcWin::VerifyInternal( |
// compatible with WinHTTP, which doesn't report this error (bug 3004). |
verify_result->cert_status &= ~CERT_STATUS_NO_REVOCATION_MECHANISM; |
- // Perform hostname verification independent of |
- // CertVerifyCertificateChainPolicy. |
- if (!cert->VerifyNameMatch(hostname, |
- &verify_result->common_name_fallback_used)) { |
- verify_result->cert_status |= CERT_STATUS_COMMON_NAME_INVALID; |
- } |
- |
if (!rev_checking_enabled) { |
// If we didn't do online revocation checking then Windows will report |
// CERT_UNABLE_TO_CHECK_REVOCATION unless it had cached OCSP or CRL |