Control: tags -1 patch

Attached is a trivial patch.

-- 
Gerald Turner <gtur...@unzane.com>        Encrypted mail preferred!
OpenPGP: 4096R / CA89 B27A 30FA 66C5 1B80  3858 EC94 2276 FDB8 716D
Fix bug #933042 allowing TLS to interoperate with modern servers
Index: sleekxmpp-1.3.3/sleekxmpp/xmlstream/xmlstream.py
===================================================================
--- sleekxmpp-1.3.3.orig/sleekxmpp/xmlstream/xmlstream.py
+++ sleekxmpp-1.3.3/sleekxmpp/xmlstream/xmlstream.py
@@ -122,7 +122,7 @@ class XMLStream(object):
         #:
         #:     import ssl
         #:     xmpp.ssl_version = ssl.PROTOCOL_SSLv23
-        self.ssl_version = ssl.PROTOCOL_TLSv1
+        self.ssl_version = ssl.PROTOCOL_TLS
 
         #: The list of accepted ciphers, in OpenSSL Format.
         #: It might be useful to override it for improved security

Attachment: signature.asc
Description: PGP signature

Reply via email to