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

unit: Add call to eapol_verify_gtk_2_of_2

This commit is contained in:
Denis Kenzior 2015-05-05 22:08:06 -05:00
parent 8f3fd6e47d
commit 2f13c5617b

View File

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