Skip to content

Commit 77edfda

Browse files
committed
revert changes in config
1 parent a8fa84e commit 77edfda

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

uvicorn/config.py

-3
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,6 @@ def __init__(
260260
self.callback_notify = callback_notify
261261
self.ssl_keyfile = ssl_keyfile
262262
self.ssl_certfile = ssl_certfile
263-
self.ssl_cert_pem: str | None = None
264263
self.ssl_keyfile_password = ssl_keyfile_password
265264
self.ssl_version = ssl_version
266265
self.ssl_cert_reqs = ssl_cert_reqs
@@ -408,8 +407,6 @@ def load(self) -> None:
408407
ca_certs=self.ssl_ca_certs,
409408
ciphers=self.ssl_ciphers,
410409
)
411-
with open(self.ssl_certfile) as file:
412-
self.ssl_cert_pem = file.read()
413410
else:
414411
self.ssl = None
415412

0 commit comments

Comments
 (0)