aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_peer/eap_fast.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-23 22:16:58 (GMT)
committerJouni Malinen <j@w1.fi>2009-12-23 22:16:58 (GMT)
commit2a29f0d45c3f131040becaad2add3b56cb6120b7 (patch)
treeae91332db1acb2b64f94389a916b879f50196226 /src/eap_peer/eap_fast.c
parent09e47a07687b166f0cb91b293d71c8f05e3e234e (diff)
downloadhostap-2a29f0d45c3f131040becaad2add3b56cb6120b7.zip
hostap-2a29f0d45c3f131040becaad2add3b56cb6120b7.tar.gz
hostap-2a29f0d45c3f131040becaad2add3b56cb6120b7.tar.bz2
Rename EAP TLS variables to make server and peer code consistent
Diffstat (limited to 'src/eap_peer/eap_fast.c')
-rw-r--r--src/eap_peer/eap_fast.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/eap_peer/eap_fast.c b/src/eap_peer/eap_fast.c
index c46db01..5d3e69d 100644
--- a/src/eap_peer/eap_fast.c
+++ b/src/eap_peer/eap_fast.c
@@ -1445,9 +1445,9 @@ static int eap_fast_process_start(struct eap_sm *sm,
/* EAP-FAST Version negotiation (section 3.1) */
wpa_printf(MSG_DEBUG, "EAP-FAST: Start (server ver=%d, own ver=%d)",
- flags & EAP_PEAP_VERSION_MASK, data->fast_version);
- if ((flags & EAP_PEAP_VERSION_MASK) < data->fast_version)
- data->fast_version = flags & EAP_PEAP_VERSION_MASK;
+ flags & EAP_TLS_VERSION_MASK, data->fast_version);
+ if ((flags & EAP_TLS_VERSION_MASK) < data->fast_version)
+ data->fast_version = flags & EAP_TLS_VERSION_MASK;
wpa_printf(MSG_DEBUG, "EAP-FAST: Using FAST version %d",
data->fast_version);