From: Jouni Malinen Date: Fri, 19 Oct 2018 15:00:02 +0000 (+0300) Subject: HS 2.0: Fix SubscriptionUpdate UpdateMethod value in OSU server X-Git-Tag: hostap_2_7~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=950cafafb2260b689178712ed5b3fe76133f4980;p=thirdparty%2Fhostap.git 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 --- 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");