diff options
Diffstat (limited to 'chromium/net/cert/cert_verify_proc_mac.cc')
-rw-r--r-- | chromium/net/cert/cert_verify_proc_mac.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chromium/net/cert/cert_verify_proc_mac.cc b/chromium/net/cert/cert_verify_proc_mac.cc index 4efdaacffed..542fba11514 100644 --- a/chromium/net/cert/cert_verify_proc_mac.cc +++ b/chromium/net/cert/cert_verify_proc_mac.cc @@ -656,8 +656,10 @@ int CertVerifyProcMac::VerifyInternal( // Perform hostname verification independent of SecTrustEvaluate. In order to // do so, mask off any reported name errors first. verify_result->cert_status &= ~CERT_STATUS_COMMON_NAME_INVALID; - if (!cert->VerifyNameMatch(hostname)) + if (!cert->VerifyNameMatch(hostname, + &verify_result->common_name_fallback_used)) { verify_result->cert_status |= CERT_STATUS_COMMON_NAME_INVALID; + } // TODO(wtc): Suppress CERT_STATUS_NO_REVOCATION_MECHANISM for now to be // compatible with Windows, which in turn implements this behavior to be |