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:
parent
0293b62f2e
commit
a227d0b00f
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user