commit | db6eb16dd07bc1d8cf10ce446f53c606b293db17 | [log] [tgz] |
---|---|---|
author | Hai Shalom <haishalom@google.com> | Fri Jul 26 10:52:05 2019 -0700 |
committer | Hai Shalom <haishalom@google.com> | Fri Aug 02 22:37:31 2019 +0000 |
tree | b329608dae2759eb2693d7210171aadd7c7fdbf6 | |
parent | 60be8edb673ea1c2d2884cf459d568b933197f52 [diff] |
[Passpoint] OSU system exception when the URL is HTTP Added checks that the OSU URL is a HTTPS type, and that openConnection returns an object of HTTPS type before casting it. Added additional tests. Add addtional error logs when the OSU cert fails verifications. Bug: 138444946 Test: atest OsuServerConnectionTest Test: Verify class cast exception with HTTP URL before the change and a handled error when the change is applied. Change-Id: I85b88988f056efd993e19ba157df1d3987b60b27