Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Unified Diff: components/autofill/content/renderer/autofill_agent.cc

Issue 508823009: Mark SHA-1 as deprecated (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cert_verify_result_sha1
Patch Set: Moar work Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autofill/content/renderer/autofill_agent.cc
diff --git a/components/autofill/content/renderer/autofill_agent.cc b/components/autofill/content/renderer/autofill_agent.cc
index ec663ceb8782abeb1bb83ba183c23625c7d14c98..55ad6a741c0822892d7afad335ed1d513623e45f 100644
--- a/components/autofill/content/renderer/autofill_agent.cc
+++ b/components/autofill/content/renderer/autofill_agent.cc
@@ -263,7 +263,8 @@ void AutofillAgent::didRequestAutocomplete(
content::SSLStatus ssl_status =
render_view()->GetSSLStatusOfFrame(form.document().frame());
bool is_safe = url.SchemeIs(url::kHttpsScheme) &&
- !net::IsCertStatusError(ssl_status.cert_status);
+ (!net::IsCertStatusError(ssl_status.cert_status) ||
+ net::IsCertStatusMinorError(ssl_status.cert_status));
bool allow_unsafe = CommandLine::ForCurrentProcess()->HasSwitch(
::switches::kReduceSecurityForTesting);

Powered by Google App Engine
This is Rietveld 408576698