mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
fix cert names for asyncio test
This commit is contained in:
parent
6d8c1abb00
commit
c9a87e6bbe
1 changed files with 2 additions and 2 deletions
|
@ -95,8 +95,8 @@ def run_test_server(*, host='127.0.0.1', port=0, use_ssl=False):
|
|||
if not os.path.isdir(here):
|
||||
here = os.path.join(os.path.dirname(os.__file__),
|
||||
'test', 'test_asyncio')
|
||||
keyfile = os.path.join(here, 'sample.key')
|
||||
certfile = os.path.join(here, 'sample.crt')
|
||||
keyfile = os.path.join(here, 'ssl_key.pem')
|
||||
certfile = os.path.join(here, 'ssl_cert.pem')
|
||||
ssock = ssl.wrap_socket(request,
|
||||
keyfile=keyfile,
|
||||
certfile=certfile,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue