mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-29 13:59:24 +01:00
unit: Add call to eapol_verify_gtk_2_of_2
This commit is contained in:
parent
8f3fd6e47d
commit
2f13c5617b
@ -933,6 +933,7 @@ static void eapol_wpa2_handshake_test(const void *data)
|
|||||||
gtk_step2 = eapol_key_validate(eapol_key_data_12,
|
gtk_step2 = eapol_key_validate(eapol_key_data_12,
|
||||||
sizeof(eapol_key_data_12));
|
sizeof(eapol_key_data_12));
|
||||||
assert(gtk_step2);
|
assert(gtk_step2);
|
||||||
|
assert(eapol_verify_gtk_2_of_2(gtk_step2, false));
|
||||||
|
|
||||||
frame = eapol_create_gtk_2_of_2(EAPOL_PROTOCOL_VERSION_2004,
|
frame = eapol_create_gtk_2_of_2(EAPOL_PROTOCOL_VERSION_2004,
|
||||||
EAPOL_KEY_DESCRIPTOR_VERSION_HMAC_SHA1_AES,
|
EAPOL_KEY_DESCRIPTOR_VERSION_HMAC_SHA1_AES,
|
||||||
|
Loading…
Reference in New Issue
Block a user