-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OkHostnameVerifier: Don't fall back to CN verification.
The use of Common Name was deprecated in RFC 2818 (May 2000), section 3.1: Although the use of the Common Name is existing practice, it is deprecated and Certification Authorities are encouraged to use the dNSName instead. This backports upstream commit 52764cb4b9219d699b66e96ccf54db1c37c638bb from square/okhttp#3764 Bug: 70278814 Test: CtsLibcoreOkHttpTestCases Change-Id: Iefa8645b93103d70f057a872ac4332147bc2d4d2
- Loading branch information
1 parent
5343031
commit a3bfc80
Showing
2 changed files
with
28 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters