Pass slot id to Shill for manually configured WiFi with EAP-TLS.
commiteecbd73d6fc73a32e5a5ccd7ad948fd36ac6fc88
authorpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 23 Jul 2014 14:11:49 +0000 (23 14:11 +0000)
committerpneubeck@chromium.org <pneubeck@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 23 Jul 2014 14:11:49 +0000 (23 14:11 +0000)
treed02de1e2b54a7005ea44d85075a2e07ee740e94b
parent22ce003923fa921868bb66ef8e96adb3b80af362
Pass slot id to Shill for manually configured WiFi with EAP-TLS.

Before, wifi_config_view directly set the shill::kEapCertIdProperty and shill::kEapKeyIdProperty. Since the system token is enabled in ChromeOS, these properties have to be of the format '<slot_id>:<key_id>' and not only '<key_id>'.

This change fixes this by reusing the client_cert::SetShillProperties function, which sets the properties in the correct format.

R=pastarmovj@chromium.org
TBR=stevenjb@chromium.org
BUG=358366, 396181

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284914 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/chromeos/options/cert_library.cc
chrome/browser/chromeos/options/cert_library.h
chrome/browser/chromeos/options/wifi_config_view.cc
chromeos/network/client_cert_util.h