From a886b7ad0db1f1f8ff3a3323a2d79f28fe945342 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 24 Jan 2012 20:54:13 +0000 Subject: [package] hostapd: introduce a client_cert option which is passed on to wpa_supplicant (#8876) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29901 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hostapd/files/wpa_supplicant.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'package/hostapd/files') diff --git a/package/hostapd/files/wpa_supplicant.sh b/package/hostapd/files/wpa_supplicant.sh index 1ab6c663e5..9446202be3 100644 --- a/package/hostapd/files/wpa_supplicant.sh +++ b/package/hostapd/files/wpa_supplicant.sh @@ -87,9 +87,11 @@ wpa_supplicant_setup_vif() { pairwise='pairwise=CCMP' group='group=CCMP' config_get identity "$vif" identity + config_get client_cert "$vif" client_cert config_get priv_key "$vif" priv_key config_get priv_key_pwd "$vif" priv_key_pwd identity="identity=\"$identity\"" + client_cert="client_cert=\"$client_cert\"" priv_key="private_key=\"$priv_key\"" priv_key_pwd="private_key_passwd=\"$priv_key_pwd\"" ;; @@ -132,6 +134,7 @@ network={ $group $eap_type $ca_cert + $client_cert $priv_key $priv_key_pwd $phase2 -- cgit v1.2.3