3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:19:34 +01:00

unit: Call eapol_verify_mic

This commit is contained in:
Denis Kenzior 2015-02-18 21:13:20 -06:00
parent 6a4b75cf8d
commit 1326f7ab61

View File

@ -532,6 +532,8 @@ static void eapol_4way_test(const void *data)
assert(step3);
assert(!memcmp(anonce, step3->key_nonce, sizeof(step3->key_nonce)));
assert(!eapol_verify_mic(ptk->kek, step3));
decrypted_key_data = eapol_decrypt_key_data(ptk->kek, step3);
assert(decrypted_key_data[0] == 48); // RSNE
l_free(decrypted_key_data);