Index: components/security_state/content/content_utils.cc |
diff --git a/components/security_state/content/content_utils.cc b/components/security_state/content/content_utils.cc |
index 266eeb3a557a39aca9b615662689521d0c3f2ba1..d5689987e9716ce25c4cbe6ea15df8d2d738923b 100644 |
--- a/components/security_state/content/content_utils.cc |
+++ b/components/security_state/content/content_utils.cc |
@@ -227,6 +227,14 @@ blink::WebSecurityStyle GetSecurityStyle( |
!!security_info.certificate)); |
} |
+ if (security_info.cert_missing_subject_alt_name) { |
+ security_style_explanations->broken_explanations.push_back( |
+ content::SecurityStyleExplanation( |
+ l10n_util::GetStringUTF8(IDS_SUBJECT_ALT_NAME_MISSING), |
+ l10n_util::GetStringUTF8(IDS_SUBJECT_ALT_NAME_MISSING_DESCRIPTION), |
+ !!security_info.certificate)); |
+ } |
+ |
// Record the presence of mixed content (HTTP subresources on an HTTPS |
// page). |
security_style_explanations->ran_mixed_content = |