Skip to content

Commit a3bfb93

Browse files
committed
cosmetic change
1 parent f7af59c commit a3bfb93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

uvicorn/protocols/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def get_path_with_query_string(scope: WWWScope) -> str:
5858
return path_with_query_string
5959

6060

61-
def get_tls_info(transport: asyncio.Transport, server_config: Config) -> TLSInfo:
61+
def get_tls_info(transport: asyncio.Transport, config: Config) -> TLSInfo:
6262
###
6363
# server_cert: Unable to set from transport information, need to set from server_config
6464
# client_cert_chain:
@@ -73,7 +73,7 @@ def get_tls_info(transport: asyncio.Transport, server_config: Config) -> TLSInfo
7373
"cipher_suite": None,
7474
}
7575

76-
ssl_info["server_cert"] = server_config.ssl_cert_pem
76+
ssl_info["server_cert"] = config.ssl_cert_pem
7777

7878
ssl_object = transport.get_extra_info("ssl_object")
7979
if ssl_object is not None:

0 commit comments

Comments
 (0)