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

Unified Diff: components/password_manager/content/browser/content_password_manager_driver.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/password_manager/content/browser/content_password_manager_driver.cc
diff --git a/components/password_manager/content/browser/content_password_manager_driver.cc b/components/password_manager/content/browser/content_password_manager_driver.cc
index 0c0e348c297c2d9c6aa4b7ecc409c4eccd240c84..e9851cbcd27bc789cf9be73810fc2ef454c5dd3e 100644
--- a/components/password_manager/content/browser/content_password_manager_driver.cc
+++ b/components/password_manager/content/browser/content_password_manager_driver.cc
@@ -89,7 +89,8 @@ bool ContentPasswordManagerDriver::DidLastPageLoadEncounterSSLErrors() {
return false;
}
- return net::IsCertStatusError(entry->GetSSL().cert_status);
+ return net::IsCertStatusError(entry->GetSSL().cert_status) &&
+ !net::IsCertStatusMinorError(entry->GetSSL().cert_status);
}
bool ContentPasswordManagerDriver::IsOffTheRecord() {

Powered by Google App Engine
This is Rietveld 408576698