aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-02-15 08:28:16 (GMT)
committerJouni Malinen <j@w1.fi>2009-02-15 13:13:25 (GMT)
commit56a43462cb952733cd9498adc4386a6d0ad6bf82 (patch)
tree3388d99bbc799f8f218c2786a9005cad19e83082 /src
parentbc185dc0a47cc532dffdb93a316bc4e13afbce0c (diff)
downloadhostap-06-56a43462cb952733cd9498adc4386a6d0ad6bf82.zip
hostap-06-56a43462cb952733cd9498adc4386a6d0ad6bf82.tar.gz
hostap-06-56a43462cb952733cd9498adc4386a6d0ad6bf82.tar.bz2
Add debug prints for couple of new EAP-AKA' attributes
(cherry picked from commit 3fe430b5d5822bb2b6180bb06967777ae79223f3)
Diffstat (limited to 'src')
-rw-r--r--src/eap_server/eap_aka.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/eap_server/eap_aka.c b/src/eap_server/eap_aka.c
index e3f68b7..aad52fd 100644
--- a/src/eap_server/eap_aka.c
+++ b/src/eap_server/eap_aka.c
@@ -369,15 +369,19 @@ static struct wpabuf * eap_aka_build_challenge(struct eap_sm *sm,
EAP_AKA_SUBTYPE_CHALLENGE);
wpa_printf(MSG_DEBUG, " AT_RAND");
eap_sim_msg_add(msg, EAP_SIM_AT_RAND, 0, data->rand, EAP_AKA_RAND_LEN);
+ wpa_printf(MSG_DEBUG, " AT_AUTN");
eap_sim_msg_add(msg, EAP_SIM_AT_AUTN, 0, data->autn, EAP_AKA_AUTN_LEN);
if (data->eap_method == EAP_TYPE_AKA_PRIME) {
if (data->kdf) {
/* Add the selected KDF into the beginning */
+ wpa_printf(MSG_DEBUG, " AT_KDF");
eap_sim_msg_add(msg, EAP_SIM_AT_KDF, data->kdf,
NULL, 0);
}
+ wpa_printf(MSG_DEBUG, " AT_KDF");
eap_sim_msg_add(msg, EAP_SIM_AT_KDF, EAP_AKA_PRIME_KDF,
NULL, 0);
+ wpa_printf(MSG_DEBUG, " AT_KDF_INPUT");
eap_sim_msg_add(msg, EAP_SIM_AT_KDF_INPUT,
data->network_name_len,
data->network_name, data->network_name_len);