-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
transport: resolve DNSNames when SAN checking
The current transport client TLS checking will pass an IP address into VerifyHostnames if there is DNSNames SAN. However, the go runtime will not resolve the DNS names to match the client IP. Intead, resolve the names when checking.
- Loading branch information
Anthony Romano
committed
Apr 18, 2017
1 parent
8fdf8f7
commit 05582ad
Showing
1 changed file
with
46 additions
and
13 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