Update macOS SSL certificates (#447)
Update macOS SSL certificates using latest `certifi` certificate bundle. Co-authored-by: Yannick Jadoul <yannick.jadoul@belgacom.net> Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com>
This commit is contained in:
co-authored by
Yannick Jadoul
Matthieu Darbois
parent
97dd4ee1c0
commit
8094b3f6db
+4
-5
@@ -13,11 +13,10 @@ project_with_ssl_tests = test_projects.new_c_project(
|
||||
else:
|
||||
from urllib.request import urlopen
|
||||
|
||||
if sys.version_info[0:2] == (3, 3):
|
||||
data = urlopen("https://www.nist.gov")
|
||||
else:
|
||||
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)
|
||||
data = urlopen("https://www.nist.gov", context=context)
|
||||
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)
|
||||
data = urlopen("https://www.nist.gov", context=context)
|
||||
data = urlopen("https://raw.githubusercontent.com/joerick/cibuildwheel/master/CI.md", context=context)
|
||||
data = urlopen("https://raw.githubusercontent.com/joerick/cibuildwheel/master/CI.md")
|
||||
''')
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user