Commit 90623d7d authored by pneubeck's avatar pneubeck Committed by Commit bot

Fix un-selecting user cert for VPN.

Bug was introduced in https://codereview.chromium.org/421113002 .

BUG=

Review URL: https://codereview.chromium.org/552353002

Cr-Commit-Position: refs/heads/master@{#293948}
parent b1a2fc8c
...@@ -454,8 +454,8 @@ void VPNConfigView::SetUserCertProperties( ...@@ -454,8 +454,8 @@ void VPNConfigView::SetUserCertProperties(
base::DictionaryValue* properties) const { base::DictionaryValue* properties) const {
if (!HaveUserCerts()) { if (!HaveUserCerts()) {
// No certificate selected or not required. // No certificate selected or not required.
chromeos::client_cert::SetEmptyShillProperties( chromeos::client_cert::SetEmptyShillProperties(client_cert_type,
chromeos::client_cert::CONFIG_TYPE_EAP, properties); properties);
} else { } else {
// Certificates are listed in the order they appear in the model. // Certificates are listed in the order they appear in the model.
int index = user_cert_combobox_ ? user_cert_combobox_->selected_index() : 0; int index = user_cert_combobox_ ? user_cert_combobox_->selected_index() : 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment