mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:19:34 +01:00
unit: make sure that MIC calculation succeeds
This commit is contained in:
parent
df8d60d7e1
commit
729d2d7f2c
@ -526,7 +526,7 @@ static void eapol_4way_test(const void *data)
|
||||
eapol_key_data_4 + sizeof(struct eapol_key));
|
||||
assert(frame);
|
||||
|
||||
eapol_calculate_mic(ptk->kck, frame, mic);
|
||||
assert(eapol_calculate_mic(ptk->kck, frame, mic));
|
||||
|
||||
memcpy(frame->key_mic_data, mic, sizeof(mic));
|
||||
l_util_hexdump(true, (uint8_t *) frame, sizeof(eapol_key_data_4),
|
||||
|
Loading…
Reference in New Issue
Block a user