From 950cafafb2260b689178712ed5b3fe76133f4980 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 19 Oct 2018 18:00:02 +0300 Subject: [PATCH] HS 2.0: Fix SubscriptionUpdate UpdateMethod value in OSU server This node was modified long time ago to include "SPP-" prefix. Fix the OSU server implementation to use the correct value. Signed-off-by: Jouni Malinen --- hs20/server/spp_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hs20/server/spp_server.c b/hs20/server/spp_server.c index 1a06e5257..1e6c7f74f 100644 --- a/hs20/server/spp_server.c +++ b/hs20/server/spp_server.c @@ -1314,7 +1314,7 @@ static xml_node_t * build_pps(struct hs20_svc *ctx, upd = xml_node_create(ctx->xml, c, NULL, "SubscriptionUpdate"); add_text_node(ctx, upd, "UpdateInterval", "4294967295"); - add_text_node(ctx, upd, "UpdateMethod", "ClientInitiated"); + add_text_node(ctx, upd, "UpdateMethod", "SPP-ClientInitiated"); add_text_node(ctx, upd, "Restriction", "HomeSP"); add_text_node_conf(ctx, realm, upd, "URI", "spp_http_auth_url"); trust = xml_node_create(ctx->xml, upd, NULL, "TrustRoot");