Fixed EAPA-AKA warning message about AT_RES length to use bits

This commit is contained in:
Jouni Malinen 2008-11-20 15:23:51 +02:00 committed by Jouni Malinen
parent c31a11c962
commit 6cd4f02b03

View file

@ -678,7 +678,7 @@ static void eap_aka_process_challenge(struct eap_sm *sm,
"bits, expected %lu bits)", "bits, expected %lu bits)",
(unsigned long) attr->res_len, (unsigned long) attr->res_len,
(unsigned long) attr->res_len_bits, (unsigned long) attr->res_len_bits,
(unsigned long) data->res_len); (unsigned long) data->res_len * 8);
data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH; data->notification = EAP_SIM_GENERAL_FAILURE_BEFORE_AUTH;
eap_aka_state(data, NOTIFICATION); eap_aka_state(data, NOTIFICATION);
return; return;