From e862c47b8b9d5de2552c55f3f84704eb260f91c5 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 30 Oct 2014 19:49:26 +0100 Subject: Remove the ssl_version option, as the defaults in python3.4 are sane --- slixmpp/xmlstream/xmlstream.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/slixmpp/xmlstream/xmlstream.py b/slixmpp/xmlstream/xmlstream.py index ff5a3d26..aa0e80fd 100644 --- a/slixmpp/xmlstream/xmlstream.py +++ b/slixmpp/xmlstream/xmlstream.py @@ -103,13 +103,6 @@ class XMLStream(object): self.ssl_context = ssl.create_default_context() self.ssl_context.check_hostname = False self.ssl_context.verify_mode = ssl.CERT_NONE - #: Most XMPP servers support TLSv1, but OpenFire in particular - #: does not work well with it. For OpenFire, set - #: :attr:`ssl_version` to use ``SSLv23``:: - #: - #: import ssl - #: xmpp.ssl_version = ssl.PROTOCOL_SSLv23 - self.ssl_version = ssl.PROTOCOL_TLSv1 # The event to trigger when the create_connection() succeeds. It can # be "connected" or "tls_success" depending on the step we are at. -- cgit v1.2.3