mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
unit: Fix verification of MIC
This commit is contained in:
parent
6ba57c9fa8
commit
9c65772551
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user