aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/config_file.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2019-08-16 20:54:51 (GMT)
committerJouni Malinen <j@w1.fi>2019-08-16 21:08:47 (GMT)
commit76ddfae6eba148a528629cb12146bc8abf2b42d8 (patch)
tree894b0c2f06f9e22d2cc2150a9ee1c5ca8da07882 /hostapd/config_file.c
parent4c327146f04abc102fda7d9a5508c0bde0184c94 (diff)
downloadhostap-76ddfae6eba148a528629cb12146bc8abf2b42d8.zip
hostap-76ddfae6eba148a528629cb12146bc8abf2b42d8.tar.gz
hostap-76ddfae6eba148a528629cb12146bc8abf2b42d8.tar.bz2
EAP-TEAP server: Testing mechanism for Result TLV in a separate message
The new eap_teap_separate_result=1 hostapd configuration parameter can be used to test TEAP exchange where the Intermediate-Result TLV and Crypto-Binding TLV are send in one message exchange while the Result TLV exchange in done after that in a separate message exchange. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'hostapd/config_file.c')
-rw-r--r--hostapd/config_file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c
index e09e6e1..1ef7d57 100644
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
@@ -2620,6 +2620,8 @@ static int hostapd_config_fill(struct hostapd_config *conf,
bss->eap_teap_auth = val;
} else if (os_strcmp(buf, "eap_teap_pac_no_inner") == 0) {
bss->eap_teap_pac_no_inner = atoi(pos);
+ } else if (os_strcmp(buf, "eap_teap_separate_result") == 0) {
+ bss->eap_teap_separate_result = atoi(pos);
#endif /* EAP_SERVER_TEAP */
#ifdef EAP_SERVER_SIM
} else if (os_strcmp(buf, "eap_sim_db") == 0) {