aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_peer/eap_fast.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2019-09-01 13:44:51 (GMT)
committerJouni Malinen <j@w1.fi>2019-09-01 14:19:43 (GMT)
commit681618246144875281d799f57af29a811a969489 (patch)
tree6543ace3f154b7dcf7c2657f055df287d233412a /src/eap_peer/eap_fast.c
parentebee8232d3db0c75254cba5c1823bf4eb146daa6 (diff)
downloadhostap-681618246144875281d799f57af29a811a969489.zip
hostap-681618246144875281d799f57af29a811a969489.tar.gz
hostap-681618246144875281d799f57af29a811a969489.tar.bz2
EAP-TEAP peer: Add support for machine credentials using certificates
This allows EAP-TLS to be used within an EAP-TEAP tunnel when there is an explicit request for machine credentials. The network profile parameters are otherwise same as the Phase 1 parameters, but each one uses a "machine_" prefix for the parameter name. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/eap_peer/eap_fast.c')
-rw-r--r--src/eap_peer/eap_fast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eap_peer/eap_fast.c b/src/eap_peer/eap_fast.c
index 61d0a6b..0ed4a2b 100644
--- a/src/eap_peer/eap_fast.c
+++ b/src/eap_peer/eap_fast.c
@@ -162,7 +162,7 @@ static void * eap_fast_init(struct eap_sm *sm)
if (eap_peer_select_phase2_methods(config, "auth=",
&data->phase2_types,
- &data->num_phase2_types) < 0) {
+ &data->num_phase2_types, 0) < 0) {
eap_fast_deinit(sm, data);
return NULL;
}