commit | 6f0f8c1cee6a629ded601c6ff08b8461d50acb1e | [log] [tgz] |
---|---|---|
author | Pete Bentley <prb@google.com> | Wed Dec 18 14:06:39 2019 +0000 |
committer | Pete Bentley <prb@google.com> | Wed Jan 08 12:46:07 2020 +0000 |
tree | fede12e69c914040537eee5c9c4e8da3cf66a906 | |
parent | 7a23698de2d48fcc806413ff758e17232c3739aa [diff] |
Add a Core Platform API to change the default hostname verifier. Allows vendor code in frameworks to install the strict instance of OKHostnameVerifier in a less brittle way than reflecting for it themselves. Bug: 144694112 Test: atest CtsLibcoreTestCases:org.apache.harmony.tests.javax.net.ssl.HostnameVerifierTest # With and without http://r.android.com/1174149 applied. Change-Id: Ife7a4644b632908b3c79e5c3f6ace709b43afd09