| 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..1ab3eec2480919ce21f9dc80867bb50ec8b29d3b 100644
|
| --- a/chrome/browser/chromeos/options/vpn_config_view.cc
|
| +++ b/chrome/browser/chromeos/options/vpn_config_view.cc
|
| @@ -1029,9 +1029,8 @@ bool VPNConfigView::IsUserCertValid() const {
|
| int index = user_cert_combobox_->selected_index();
|
| if (index < 0)
|
| return false;
|
| - // Currently only hardware-backed user certificates are valid.
|
| - if (!CertLibrary::Get()->IsCertHardwareBackedAt(CertLibrary::CERT_TYPE_USER,
|
| - index)) {
|
| + // Make sure the certificate is hardware-backed if the hardware supports it.
|
| + if (!CertLibrary::Get()->IsCertSecureAt(CertLibrary::CERT_TYPE_USER, index)) {
|
| return false;
|
| }
|
| return true;
|
|
|