Changed to sets
This commit is contained in:
parent
fdab13e065
commit
ae22d14437
3 changed files with 56 additions and 51 deletions
|
|
@ -326,5 +326,6 @@ def match_hostname(cert, hostname):
|
|||
raise CertificateError(
|
||||
"no appropriate commonName or subjectAltName fields were found"
|
||||
)
|
||||
from urllib3.util.ssl_match_hostname = match_hostname
|
||||
|
||||
urllib3.util.ssl_match_hostname = match_hostname
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue