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 b64797a1d6f2db08a8347ba65a9bb9748112c122..29885eac18f29f407a7961194ed1b177a05ac225 100644 |
--- a/net/cert/cert_verify_proc_win.cc |
+++ b/net/cert/cert_verify_proc_win.cc |
@@ -764,8 +764,10 @@ int CertVerifyProcWin::VerifyInternal( |
// Perform hostname verification independent of |
// CertVerifyCertificateChainPolicy. |
- if (!cert->VerifyNameMatch(hostname)) |
+ 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 |