aboutsummaryrefslogtreecommitdiffstats
path: root/hs20
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-10-19 15:07:37 (GMT)
committerJouni Malinen <j@w1.fi>2018-10-19 15:07:37 (GMT)
commit4939e2bb97c78292c5baa2cc66000b70be759e81 (patch)
tree11248e00d7fcf5af3fa15619eb4581e3b1595c8c /hs20
parent950cafafb2260b689178712ed5b3fe76133f4980 (diff)
downloadhostap-4939e2bb97c78292c5baa2cc66000b70be759e81.zip
hostap-4939e2bb97c78292c5baa2cc66000b70be759e81.tar.gz
hostap-4939e2bb97c78292c5baa2cc66000b70be759e81.tar.bz2
HS 2.0: Rename PPS/Credential1 node to Cred01
This makes it a bit easier to use existing hardcoded PPS MO files for testing purposes when the subscription remediation and policy update operations target the same path. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'hs20')
-rw-r--r--hs20/server/spp_server.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/hs20/server/spp_server.c b/hs20/server/spp_server.c
index 1e6c7f7..584a2bd 100644
--- a/hs20/server/spp_server.c
+++ b/hs20/server/spp_server.c
@@ -768,7 +768,7 @@ static xml_node_t * build_sub_rem_resp(struct hs20_svc *ctx,
}
snprintf(buf, sizeof(buf),
- "./Wi-Fi/%s/PerProviderSubscription/Credential1/Credential",
+ "./Wi-Fi/%s/PerProviderSubscription/Cred01/Credential",
realm);
if (add_update_node(ctx, spp_node, ns, buf, cred) < 0) {
@@ -834,7 +834,7 @@ static xml_node_t * policy_remediation(struct hs20_svc *ctx,
return NULL;
snprintf(buf, sizeof(buf),
- "./Wi-Fi/%s/PerProviderSubscription/Credential1/Policy",
+ "./Wi-Fi/%s/PerProviderSubscription/Cred01/Policy",
realm);
if (add_update_node(ctx, spp_node, ns, buf, policy) < 0) {
@@ -1092,7 +1092,7 @@ static xml_node_t * hs20_policy_update(struct hs20_svc *ctx,
return NULL;
snprintf(buf, sizeof(buf),
- "./Wi-Fi/%s/PerProviderSubscription/Credential1/Policy",
+ "./Wi-Fi/%s/PerProviderSubscription/Cred01/Policy",
realm);
if (add_update_node(ctx, spp_node, ns, buf, policy) < 0) {
@@ -1276,7 +1276,7 @@ static xml_node_t * build_pps(struct hs20_svc *ctx,
add_text_node(ctx, pps, "UpdateIdentifier", "1");
- c = xml_node_create(ctx->xml, pps, NULL, "Credential1");
+ c = xml_node_create(ctx->xml, pps, NULL, "Cred01");
add_text_node(ctx, c, "CredentialPriority", "1");
@@ -1565,7 +1565,7 @@ static xml_node_t * hs20_user_input_free_remediation(struct hs20_svc *ctx,
return NULL;
snprintf(buf, sizeof(buf),
- "./Wi-Fi/%s/PerProviderSubscription/Credential1/Credential",
+ "./Wi-Fi/%s/PerProviderSubscription/Cred01/Credential",
realm);
if (add_update_node(ctx, spp_node, ns, buf, cred) < 0) {