summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBhaskar Dutta <bhaskar.d@samsung.com>2018-07-20 12:10:11 (GMT)
committerManeesh Jain <maneesh.jain@samsung.com>2018-07-27 03:53:03 (GMT)
commit54dcb380e2e7af1e62c29d57277228890f49cd75 (patch)
tree88c395d5151dbbbe600b4f5ac18f59f7d28c8eed
parentdd9f82dc313b24af1b539c4ec9501453d9c5b415 (diff)
downloadconnman-54dcb380e2e7af1e62c29d57277228890f49cd75.zip
connman-54dcb380e2e7af1e62c29d57277228890f49cd75.tar.gz
connman-54dcb380e2e7af1e62c29d57277228890f49cd75.tar.bz2
Fixed the EAP security issuerefs/changes/23/184723/2
Description : 1. App send anonymous identity and connect with EAP network. And connman store it inside corresponding network pointer. 2. Then if user disconnect that connection,forgetAP will be called. And connman does not clear last anonymous identity data for that service. 3. Next time when user again connect with same EAP network, but without anonymous identity. Then previous anonymous identity will be passwed to WPA suplicant. But blank anonymous identity should be treated. Change-Id: I267bea4d394390e82351ae997229c69785ea6d6d Signed-off-by: Bhaskar Dutta <bhaskar.d@samsung.com>
-rwxr-xr-xsrc/service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/service.c b/src/service.c
index d157ec2..d7a7039 100755
--- a/src/service.c
+++ b/src/service.c
@@ -5663,6 +5663,7 @@ static void __connman_service_cleanup_network_8021x(struct connman_service *serv
connman_network_set_string(service->network, "WiFi.PrivateKeyFile", NULL);
connman_network_set_string(service->network, "WiFi.PrivateKeyPassphrase", NULL);
connman_network_set_string(service->network, "WiFi.Phase2", NULL);
+ connman_network_set_string(service->network, "WiFi.AnonymousIdentity", NULL);
}
#endif