-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport Python 3.5 match_hostname function.
This backport actually comes from the repository maintained by Brandon Rhodes: https://bitbucket.org/brandon/backports.ssl_match_hostname. The reason for this is that the version in the Python 3.5 repository assumes the presence of the ipaddress module: this version can function without it. That makes this a good first step for handling IP address SANs, as we can simply require that a backported ipaddress module be installed to get the support required.
- Loading branch information
Showing
1 changed file
with
55 additions
and
3 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