Skip to content

Commit

Permalink
Don't set TLSv1 protocol in the client
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbrand authored and fasaxc committed Aug 23, 2016
1 parent 3d06131 commit 80f9369
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/etcd/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,6 @@ def uri(protocol, host, port):
if self._read_timeout > 0:
kw['timeout'] = self._read_timeout

if protocol == 'https':
# If we don't allow TLSv1, clients using older version of OpenSSL
# (<1.0) won't be able to connect.
_log.debug("HTTPS enabled.")
kw['ssl_version'] = ssl.PROTOCOL_TLSv1

if cert:
if isinstance(cert, tuple):
# Key and cert are separate
Expand Down

0 comments on commit 80f9369

Please sign in to comment.