Skip to content

Commit

Permalink
Updates per code review
Browse files Browse the repository at this point in the history
  • Loading branch information
zuohaocheng committed Jul 25, 2017
1 parent 5c2e1f4 commit dd3dc46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -559,9 +559,9 @@ Extended handlers

.. data:: client_certfile

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

.. versionadded:: 1.5.3

Expand Down
1 change: 0 additions & 1 deletion pyftpdlib/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3419,7 +3419,6 @@ class TLS_FTPHandler(SSLConnection, FTPHandler):
certfile = None
keyfile = None
ssl_protocol = SSL.SSLv23_METHOD
# client certificate configurable attributes
client_certfile = None
# - SSLv2 is easily broken and is considered harmful and dangerous
# - SSLv3 has several problems and is now dangerous
Expand Down

0 comments on commit dd3dc46

Please sign in to comment.