]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix cert names for asyncio test
authorChristian Heimes <christian@cheimes.de>
Fri, 6 Dec 2013 01:58:23 +0000 (02:58 +0100)
committerChristian Heimes <christian@cheimes.de>
Fri, 6 Dec 2013 01:58:23 +0000 (02:58 +0100)
Lib/asyncio/test_utils.py

index d7d844249c4fd0ee22c3de9da15279da2e52f889..c26dd8818f09420a217786338f16a378da25cc35 100644 (file)
@@ -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,