Skip to content

Commit dd3dc46

Browse files
committed
Updates per code review
1 parent 5c2e1f4 commit dd3dc46

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

docs/api.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -559,9 +559,9 @@ Extended handlers
559559

560560
.. data:: client_certfile
561561

562-
The path of the certificate to check the client certificate against.
563-
When provided, only allowing clients with a valid certificate to connect
564-
to the server (default ``None``).
562+
The path to a file which contains a certificate to be used to identify
563+
the client. If specified, only clients with a valid certificate are able
564+
to connect to the server (default ``None``).
565565

566566
.. versionadded:: 1.5.3
567567

pyftpdlib/handlers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3419,7 +3419,6 @@ class TLS_FTPHandler(SSLConnection, FTPHandler):
34193419
certfile = None
34203420
keyfile = None
34213421
ssl_protocol = SSL.SSLv23_METHOD
3422-
# client certificate configurable attributes
34233422
client_certfile = None
34243423
# - SSLv2 is easily broken and is considered harmful and dangerous
34253424
# - SSLv3 has several problems and is now dangerous

0 commit comments

Comments
 (0)