aboutsummaryrefslogtreecommitdiffstats
path: root/hs20
diff options
context:
space:
mode:
authorASHUTOSH NARAYAN <ashutoshx.narayan@intel.com>2015-01-19 01:45:00 (GMT)
committerJouni Malinen <j@w1.fi>2015-01-20 00:25:41 (GMT)
commit73f1ee024362d67e4475c3eced36b3941b42627a (patch)
tree703f7a46067065fcd728562d3dcab7ee81c39ad9 /hs20
parent54a0ac0ccf49812edb9d996d1a128c6ff276823d (diff)
downloadhostap-73f1ee024362d67e4475c3eced36b3941b42627a.zip
hostap-73f1ee024362d67e4475c3eced36b3941b42627a.tar.gz
hostap-73f1ee024362d67e4475c3eced36b3941b42627a.tar.bz2
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>
Diffstat (limited to 'hs20')
-rw-r--r--hs20/client/osu_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hs20/client/osu_client.c b/hs20/client/osu_client.c
index d3f583e..e452aa7 100644
--- a/hs20/client/osu_client.c
+++ b/hs20/client/osu_client.c
@@ -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;
}