You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.1 KiB
25 lines
1.1 KiB
--- a/salt/ext/tornado/netutil.py~ 2023-05-05 12:53:34.000000000 -0500
|
|
+++ b/salt/ext/tornado/netutil.py 2023-07-24 11:27:02.376824349 -0500
|
|
@@ -54,8 +54,8 @@
|
|
elif ssl is None:
|
|
ssl_match_hostname = SSLCertificateError = None # type: ignore
|
|
else:
|
|
- import backports.ssl_match_hostname
|
|
- ssl_match_hostname = backports.ssl_match_hostname.match_hostname
|
|
+ import urllib3.util.ssl_match_hostname
|
|
+ ssl_match_hostname = urllib3.util.ssl_match_hostname
|
|
SSLCertificateError = backports.ssl_match_hostname.CertificateError # type: ignore
|
|
|
|
if hasattr(ssl, 'SSLContext'):
|
|
--- a/salt/ext/tornado/netutil.py~ 2023-07-24 11:50:02.836988664 -0500
|
|
+++ b/salt/ext/tornado/netutil.py 2023-07-24 11:50:52.217539638 -0500
|
|
@@ -56,7 +56,7 @@
|
|
else:
|
|
import urllib3.util.ssl_match_hostname
|
|
ssl_match_hostname = urllib3.util.ssl_match_hostname
|
|
- SSLCertificateError = backports.ssl_match_hostname.CertificateError # type: ignore
|
|
+ SSLCertificateError = urllib3.util.ssl_match_hostname.CertificateError # type: ignore
|
|
|
|
if hasattr(ssl, 'SSLContext'):
|
|
if hasattr(ssl, 'create_default_context'):
|