forked from osmocom/wireshark
from michael stevens
fix an incorrect expression to decode keydata properly svn path=/trunk/; revision=18770
This commit is contained in:
parent
aa98f8dadd
commit
e27d8be9d3
|
@ -230,7 +230,7 @@ dissect_eapol(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|||
if (eapol_data_len != 0) {
|
||||
ti = proto_tree_add_item(eapol_tree, hf_eapol_wpa_keydes_data,
|
||||
tvb, offset, eapol_data_len, FALSE);
|
||||
if ((keyinfo & KEY_INFO_ENCR_KEY_DATA_MASK) ||
|
||||
if ((keyinfo & KEY_INFO_ENCR_KEY_DATA_MASK) &&
|
||||
!(keyinfo & KEY_INFO_KEY_TYPE_MASK)) {
|
||||
/* RSN: EAPOL-Key Key Data is encrypted.
|
||||
* WPA: Group Keys use encrypted Key Data.
|
||||
|
|
Loading…
Reference in New Issue