3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-20 12:39:25 +01:00

eapol: In GTK step 2 of 2, secure bit is always 1

This commit is contained in:
Andrew Zaborowski 2015-05-18 13:31:41 +02:00 committed by Denis Kenzior
parent 0293b62f2e
commit a227d0b00f

View File

@ -467,7 +467,7 @@ bool eapol_verify_gtk_2_of_2(const struct eapol_key *ek, bool is_wpa)
if (!ek->key_mic) if (!ek->key_mic)
return false; return false;
if (ek->secure != !is_wpa) if (!ek->secure)
return false; return false;
if (ek->encrypted_key_data) if (ek->encrypted_key_data)