Android security 8.1.0 release 90
[DO NOT MERGE] Track behavior change in default HostnameVerifier.

The default HostnameVerifier now ignores any CommonName
in the certificate provided by the server, even when no
subjectAltName is present.

As well as the cherrypick for the CommonName behaviouer change,
this also contains changes to match http://ag/13135278 which
rejects non-ASCII names.

Bug: 70278814
Bug: 171980069
Test: CtsLibcoreTestCases
Change-Id: Ib6fa0c40d8903352e88d8812bf0c09ec1d8ef6be
(cherry picked from commit 70bd0982aa6ed2603615df8a963f285b91872c87)
(cherry picked from commit 50c55eb5edb5d796d54c197563b9c7cb30c822bf)
4 files changed