projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cd4f02
)
Fixed Milenage debug output to use correct length for IK and CK
author
Jouni Malinen
<jouni.malinen@atheros.com>
Thu, 20 Nov 2008 13:45:31 +0000
(15:45 +0200)
committer
Jouni Malinen
<j@w1.fi>
Thu, 20 Nov 2008 13:45:31 +0000
(15:45 +0200)
src/hlr_auc_gw/milenage.c
patch
|
blob
|
history
diff --git
a/src/hlr_auc_gw/milenage.c
b/src/hlr_auc_gw/milenage.c
index
26acf31
..
0ce5ef3
100644
(file)
--- a/
src/hlr_auc_gw/milenage.c
+++ b/
src/hlr_auc_gw/milenage.c
@@
-289,8
+289,8
@@
int milenage_check(const u8 *opc, const u8 *k, const u8 *sqn, const u8 *_rand,
*res_len = 8;
wpa_hexdump_key(MSG_DEBUG, "Milenage: RES", res, *res_len);
- wpa_hexdump_key(MSG_DEBUG, "Milenage: CK", ck, 6);
- wpa_hexdump_key(MSG_DEBUG, "Milenage: IK", ik, 6);
+ wpa_hexdump_key(MSG_DEBUG, "Milenage: CK", ck,
1
6);
+ wpa_hexdump_key(MSG_DEBUG, "Milenage: IK", ik,
1
6);
wpa_hexdump_key(MSG_DEBUG, "Milenage: AK", ak, 6);
/* AUTN = (SQN ^ AK) || AMF || MAC */