| Index: chrome/browser/chromeos/options/wifi_config_view.cc
|
| diff --git a/chrome/browser/chromeos/options/wifi_config_view.cc b/chrome/browser/chromeos/options/wifi_config_view.cc
|
| index 5e73c2d869e28f2da732da219d58796051e27467..4f18f52a70fca3fe38e054ebc65da48a7f1aa0ff 100644
|
| --- a/chrome/browser/chromeos/options/wifi_config_view.cc
|
| +++ b/chrome/browser/chromeos/options/wifi_config_view.cc
|
| @@ -883,7 +883,9 @@ void WifiConfigView::SetEapProperties(base::DictionaryValue* properties) {
|
| shill::kEapPasswordProperty, GetPassphrase());
|
|
|
| base::ListValue* pem_list = new base::ListValue;
|
| - pem_list->AppendString(GetEapServerCaCertPEM());
|
| + std::string ca_cert_pem = GetEapServerCaCertPEM();
|
| + if (!ca_cert_pem.empty())
|
| + pem_list->AppendString(ca_cert_pem);
|
| properties->SetWithoutPathExpansion(
|
| shill::kEapCaCertPemProperty, pem_list);
|
| }
|
|
|