Print EAPOL-Key Replay Counter in Authenticator debug log
This makes it easier to debug issues relared to EAPOL-Key retransmissions. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
066371ad52
commit
db099951cb
1 changed files with 2 additions and 0 deletions
|
@ -1384,6 +1384,8 @@ void __wpa_send_eapol(struct wpa_authenticator *wpa_auth,
|
||||||
inc_byte_array(sm->key_replay[0].counter, WPA_REPLAY_COUNTER_LEN);
|
inc_byte_array(sm->key_replay[0].counter, WPA_REPLAY_COUNTER_LEN);
|
||||||
os_memcpy(key->replay_counter, sm->key_replay[0].counter,
|
os_memcpy(key->replay_counter, sm->key_replay[0].counter,
|
||||||
WPA_REPLAY_COUNTER_LEN);
|
WPA_REPLAY_COUNTER_LEN);
|
||||||
|
wpa_hexdump(MSG_DEBUG, "WPA: Replay Counter",
|
||||||
|
key->replay_counter, WPA_REPLAY_COUNTER_LEN);
|
||||||
sm->key_replay[0].valid = TRUE;
|
sm->key_replay[0].valid = TRUE;
|
||||||
|
|
||||||
if (nonce)
|
if (nonce)
|
||||||
|
|
Loading…
Reference in a new issue