OWE: Allow DH Parameters element overriding with driver SME
Commit 265bda3444
('OWE: Allow DH
Parameters element to be overridden for testing purposes') provided
means for using "VENDOR_ELEM_ADD 13 <IE>" in OWE protocol testing, but
that commit covered only the sme.c case (i.e., drivers that use
wpa_supplicant SME). Extend this to cover drivers that use internal SME
(e.g., use the nl80211 Connect command).
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
04ded82efa
commit
5f30b69cde
1 changed files with 5 additions and 0 deletions
|
@ -2608,6 +2608,11 @@ static u8 * wpas_populate_assoc_ies(
|
|||
#endif /* CONFIG_FILS */
|
||||
|
||||
#ifdef CONFIG_OWE
|
||||
#ifdef CONFIG_TESTING_OPTIONS
|
||||
if (get_ie_ext(wpa_ie, wpa_ie_len, WLAN_EID_EXT_OWE_DH_PARAM)) {
|
||||
wpa_printf(MSG_INFO, "TESTING: Override OWE DH element");
|
||||
} else
|
||||
#endif /* CONFIG_TESTING_OPTIONS */
|
||||
if (algs == WPA_AUTH_ALG_OPEN &&
|
||||
ssid->key_mgmt == WPA_KEY_MGMT_OWE) {
|
||||
struct wpabuf *owe_ie;
|
||||
|
|
Loading…
Reference in a new issue