Merge pull request #4188 from DjSlash/patch-2

Update SSL protocol for Deluge connections
This commit is contained in:
Ruud Burger
2014-11-09 14:37:23 +01:00
+1 -1
View File
@@ -19,7 +19,7 @@ class DelugeTransfer(object):
self.disconnect()
self.sock = socket.create_connection(hostport)
self.conn = ssl.wrap_socket(self.sock, None, None, False, ssl.CERT_NONE, ssl.PROTOCOL_SSLv3)
self.conn = ssl.wrap_socket(self.sock, None, None, False, ssl.CERT_NONE, ssl.PROTOCOL_TLSv1)
self.connected = True
def disconnect(self):