Fixed the EAP security issue 23/184723/2
authorBhaskar Dutta <bhaskar.d@samsung.com>
Fri, 20 Jul 2018 12:10:11 +0000 (17:40 +0530)
committerManeesh Jain <maneesh.jain@samsung.com>
Fri, 27 Jul 2018 03:53:03 +0000 (03:53 +0000)
commit54dcb380e2e7af1e62c29d57277228890f49cd75
tree88c395d5151dbbbe600b4f5ac18f59f7d28c8eed
parentdd9f82dc313b24af1b539c4ec9501453d9c5b415
Fixed the EAP security issue

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>
src/service.c