Skip to content

Fix use the default hostname verifier - #1060

Merged
prbprbprb merged 2 commits into
google:masterfrom
nodece:fix_hostname_verifier
Oct 18, 2022
Merged

Fix use the default hostname verifier#1060
prbprbprb merged 2 commits into
google:masterfrom
nodece:fix_hostname_verifier

Conversation

@nodece

@nodece nodece commented Mar 30, 2022

Copy link
Copy Markdown
Contributor

Signed-off-by: Zixuan Liu nodeces@gmail.com

Fix #1015

When no set the HostnameVerifier in TrustManagerImpl, we should use the defaultHostnameVerifier, if which still is not set we will use the Platform.getDefaultHostnameVerifier().

@google-cla

google-cla Bot commented Mar 30, 2022

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

For more information, open the CLA check for this pull request.

Signed-off-by: Zixuan Liu <nodeces@gmail.com>
@nodece
nodece force-pushed the fix_hostname_verifier branch from 869bb2f to 1ad7436 Compare May 4, 2022 15:17
@prbprbprb

Copy link
Copy Markdown
Contributor

Thanks!

@prbprbprb
prbprbprb merged commit 9105940 into google:master Oct 18, 2022
prbprbprb added a commit to prbprbprb/conscrypt that referenced this pull request Jan 2, 2023
Signed-off-by: Zixuan Liu <nodeces@gmail.com>

Signed-off-by: Zixuan Liu <nodeces@gmail.com>
Co-authored-by: Pete Bentley <44170157+prbprbprb@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TrustManagerImpl.defaultHostnameVerifier field is ignored

2 participants