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

Unified Diff: chrome/browser/chromeos/options/vpn_config_view.cc

Issue 2485813002: Allow ECDSA certs to be used for VPN and wifi (Closed)
Patch Set: Created 4 years, 1 month 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: chrome/browser/chromeos/options/vpn_config_view.cc
diff --git a/chrome/browser/chromeos/options/vpn_config_view.cc b/chrome/browser/chromeos/options/vpn_config_view.cc
index 6b0199f73b73dcc375c5e2112cd4898c4c52f8ed..8a1cffc52d0e72abb89390b02d9a6f74532ff2e0 100644
--- a/chrome/browser/chromeos/options/vpn_config_view.cc
+++ b/chrome/browser/chromeos/options/vpn_config_view.cc
@@ -1030,8 +1030,7 @@ bool VPNConfigView::IsUserCertValid() const {
if (index < 0)
return false;
// Currently only hardware-backed user certificates are valid.
stevenjb 2016/11/08 20:09:37 Update comment.
Kevin Cernekee 2016/11/08 21:00:41 Done.
- if (!CertLibrary::Get()->IsCertHardwareBackedAt(CertLibrary::CERT_TYPE_USER,
- index)) {
+ if (!CertLibrary::Get()->IsCertSecureAt(CertLibrary::CERT_TYPE_USER, index)) {
return false;
}
return true;

Powered by Google App Engine
This is Rietveld 408576698