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

unit: Fix verification of MIC

This commit is contained in:
Denis Kenzior 2015-02-24 10:43:05 -06:00
parent 6ba57c9fa8
commit 9c65772551

View File

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