mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
HS 2.0: OSU client to send HomeSP/RoamingConsortiumOI to wpa_supplicant
This adds mapping of the PPS MO HomeSP/RoamingConsortiumOI leaf node value into the wpa_supplicant cred block parameter roaming_consortiums. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
53fa04e197
commit
2e88032f1b
@ -1308,7 +1308,9 @@ static void set_pps_cred_home_sp_roaming_consortium_oi(
|
|||||||
if (str == NULL)
|
if (str == NULL)
|
||||||
return;
|
return;
|
||||||
wpa_printf(MSG_INFO, "- HomeSP/RoamingConsortiumOI = %s", str);
|
wpa_printf(MSG_INFO, "- HomeSP/RoamingConsortiumOI = %s", str);
|
||||||
/* TODO: Set to wpa_supplicant */
|
if (set_cred_quoted(ctx->ifname, id, "roaming_consortiums",
|
||||||
|
str) < 0)
|
||||||
|
wpa_printf(MSG_INFO, "Failed to set cred roaming_consortiums");
|
||||||
xml_node_get_text_free(ctx->xml, str);
|
xml_node_get_text_free(ctx->xml, str);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user