3
0
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:
Denis Kenzior 2015-02-13 14:24:12 -06:00
parent df8d60d7e1
commit 729d2d7f2c

View File

@ -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),