HS20: Fix TrustRoot path for PolicyUpdate node in PPS MO
Incorrect TrustRoot path "PolicyUpdate/TrustRoot" was used. The TrustRoot path is required to be "Policy/PolicyUpdate/TrustRoot" as defined in Section 9.1 of Hotspot 2.0 (Release 2) specification. Fix the path to "Policy/PolicyUpdate/TrustRoot". Signed-off-by: ASHUTOSH NARAYAN <ashutoshx.narayan@intel.com>
This commit is contained in:
parent
54a0ac0ccf
commit
73f1ee0243
1 changed files with 2 additions and 2 deletions
|
@ -397,9 +397,9 @@ static int cmd_dl_polupd_ca(struct hs20_osu_client *ctx, const char *pps_fname,
|
|||
}
|
||||
|
||||
node = get_child_node(ctx->xml, pps,
|
||||
"PolicyUpdate/TrustRoot");
|
||||
"Policy/PolicyUpdate/TrustRoot");
|
||||
if (node == NULL) {
|
||||
wpa_printf(MSG_INFO, "No PolicyUpdate/TrustRoot/CertURL found from PPS");
|
||||
wpa_printf(MSG_INFO, "No Policy/PolicyUpdate/TrustRoot/CertURL found from PPS");
|
||||
xml_node_free(ctx->xml, pps);
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue