aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/hs20_supplicant.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2020-09-29 21:19:53 (GMT)
committerJouni Malinen <j@w1.fi>2020-09-29 21:19:53 (GMT)
commit04824147432f4d856d0e56e33f4c58c09a5b64bb (patch)
treeae03120c2e1639d29290f5f9341a1a4628f982b0 /wpa_supplicant/hs20_supplicant.h
parent13feeaa10432bd548c544477ab59f31ff96ebf82 (diff)
downloadhostap-master.zip
hostap-master.tar.gz
hostap-master.tar.bz2
wlantest: Fix EAPOL-Key Key Data padding removalHEADpendingmaster
The case where a single 0xdd octet without any 0x00 octets is used as padding was addressed incorrectly and that ended up truncating one octet of the actual plaintext version of the Key Data value. Fix this by removing the unnecessary change to the p pointer before calculating the new length since p is already pointing to one past the last octet of the full plaintext. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'wpa_supplicant/hs20_supplicant.h')
0 files changed, 0 insertions, 0 deletions