]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
HS 2.0: Allow CCMP as group cipher for OSEN single SSID case
authorJouni Malinen <jouni@codeaurora.org>
Mon, 30 Jul 2018 21:31:16 +0000 (00:31 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 30 Jul 2018 21:32:53 +0000 (00:32 +0300)
When OSEN is used in the BSS that is shared both for production data and
OSU uses, the group cipher might be either GTK_NOT_USED (like in Rel 2
OSEN) or CCMP. Modify hs20-osu-client to allow both these group ciphers
to be used when requesting OSEN connection.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
hs20/client/osu_client.c

index de70065456a840b611f5ecc3b32ef35f0b662d55..b0567039f4998d3684531ccef2cac8f81af1bc7f 100644 (file)
@@ -2151,7 +2151,7 @@ static int osu_connect(struct hs20_osu_client *ctx, const char *bssid,
                if (set_network(ifname, id, "proto", "OSEN") < 0 ||
                    set_network(ifname, id, "key_mgmt", "OSEN") < 0 ||
                    set_network(ifname, id, "pairwise", "CCMP") < 0 ||
-                   set_network(ifname, id, "group", "GTK_NOT_USED") < 0 ||
+                   set_network(ifname, id, "group", "GTK_NOT_USED CCMP") < 0 ||
                    set_network(ifname, id, "eap", "WFA-UNAUTH-TLS") < 0 ||
                    set_network(ifname, id, "ocsp", "2") < 0 ||
                    set_network_quoted(ifname, id, "identity", osu_nai) < 0 ||