Update SSL protocol for Deluge connections. Fixes #632

Since Deluge 1.3.10 the SSL protocol is updated to TLSv1 instead of SSLv3.
Link to change in Deluge: http://git.deluge-torrent.org/deluge/commit/?h=1.3-stable&id=26f5be17609a8312c4ba06aa120ed208cd7876f2
This commit is contained in:
clinton-hall 2014-12-08 16:07:52 +10:30
commit d9fa80d72c

View file

@ -19,7 +19,7 @@ class DelugeTransfer(object):
self.disconnect() self.disconnect()
self.sock = socket.create_connection(hostport) 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 self.connected = True
def disconnect(self): def disconnect(self):