aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/hostapd.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-10-19 06:55:59 (GMT)
committerJouni Malinen <j@w1.fi>2008-10-19 06:55:59 (GMT)
commit2d86724409021bb98fa37e08e9cc37014faf9e29 (patch)
tree5602de55b4216e85706777a3a6b1ce6264a7a847 /hostapd/hostapd.c
parent2100a768bfe2d3186dd7ff2bd62fde61c944d674 (diff)
downloadhostap-06-2d86724409021bb98fa37e08e9cc37014faf9e29.zip
hostap-06-2d86724409021bb98fa37e08e9cc37014faf9e29.tar.gz
hostap-06-2d86724409021bb98fa37e08e9cc37014faf9e29.tar.bz2
EAP-FAST: Allow A-ID and A-ID-Info to be configured separately
Changed EAP-FAST configuration to use separate fields for A-ID and A-ID-Info (eap_fast_a_id_info) to allow A-ID to be set to a fixed 16-octet len binary value for better interoperability with some peer implementations; eap_fast_a_id is now configured as a hex string.
Diffstat (limited to 'hostapd/hostapd.c')
-rw-r--r--hostapd/hostapd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hostapd/hostapd.c b/hostapd/hostapd.c
index 22054cf..fdc61b2 100644
--- a/hostapd/hostapd.c
+++ b/hostapd/hostapd.c
@@ -1170,6 +1170,8 @@ static int hostapd_setup_radius_srv(struct hostapd_data *hapd,
srv.ssl_ctx = hapd->ssl_ctx;
srv.pac_opaque_encr_key = conf->pac_opaque_encr_key;
srv.eap_fast_a_id = conf->eap_fast_a_id;
+ srv.eap_fast_a_id_len = conf->eap_fast_a_id_len;
+ srv.eap_fast_a_id_info = conf->eap_fast_a_id_info;
srv.eap_fast_prov = conf->eap_fast_prov;
srv.pac_key_lifetime = conf->pac_key_lifetime;
srv.pac_key_refresh_time = conf->pac_key_refresh_time;