aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/patches/0001-WPA-Ignore-unauthenticated-encrypted-EAPOL-Key-data.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-10-03 20:56:41 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-10-14 13:57:14 +0200
commit779773a0dee759d87c483de266e41164cd851af0 (patch)
tree9837ad22961df71a9e58db8f7d3a28305dd0cac4 /package/network/services/hostapd/patches/0001-WPA-Ignore-unauthenticated-encrypted-EAPOL-Key-data.patch
parent4b93b03577cefeed39fb6cadc7aa85706deeb074 (diff)
downloadupstream-779773a0dee759d87c483de266e41164cd851af0.tar.gz
upstream-779773a0dee759d87c483de266e41164cd851af0.tar.bz2
upstream-779773a0dee759d87c483de266e41164cd851af0.zip
hostapd: backport build fix when OWE is activated
This backports a compile fix form the hostapd project. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/network/services/hostapd/patches/0001-WPA-Ignore-unauthenticated-encrypted-EAPOL-Key-data.patch')
-rw-r--r--package/network/services/hostapd/patches/0001-WPA-Ignore-unauthenticated-encrypted-EAPOL-Key-data.patch7
1 files changed, 1 insertions, 6 deletions
diff --git a/package/network/services/hostapd/patches/0001-WPA-Ignore-unauthenticated-encrypted-EAPOL-Key-data.patch b/package/network/services/hostapd/patches/0001-WPA-Ignore-unauthenticated-encrypted-EAPOL-Key-data.patch
index 1b84f7e86a..633ab58623 100644
--- a/package/network/services/hostapd/patches/0001-WPA-Ignore-unauthenticated-encrypted-EAPOL-Key-data.patch
+++ b/package/network/services/hostapd/patches/0001-WPA-Ignore-unauthenticated-encrypted-EAPOL-Key-data.patch
@@ -21,11 +21,9 @@ Signed-off-by: Mathy Vanhoef <Mathy.Vanhoef@cs.kuleuven.be>
src/rsn_supp/wpa.c | 11 +++++++++++
1 file changed, 11 insertions(+)
-diff --git a/src/rsn_supp/wpa.c b/src/rsn_supp/wpa.c
-index 56f3af7..db94a49 100644
--- a/src/rsn_supp/wpa.c
+++ b/src/rsn_supp/wpa.c
-@@ -2215,6 +2215,17 @@ int wpa_sm_rx_eapol(struct wpa_sm *sm, const u8 *src_addr,
+@@ -2208,6 +2208,17 @@ int wpa_sm_rx_eapol(struct wpa_sm *sm, c
if ((sm->proto == WPA_PROTO_RSN || sm->proto == WPA_PROTO_OSEN) &&
(key_info & WPA_KEY_INFO_ENCR_KEY_DATA) && mic_len) {
@@ -43,6 +41,3 @@ index 56f3af7..db94a49 100644
if (wpa_supplicant_decrypt_key_data(sm, key, mic_len,
ver, key_data,
&key_data_len))
---
-2.7.4
-