Fix Deluge SSL negotiation errors on Windows machines.
This commit is contained in:
@@ -19,7 +19,7 @@ class DelugeTransfer(object):
|
||||
self.disconnect()
|
||||
|
||||
self.sock = socket.create_connection(hostport)
|
||||
self.conn = ssl.wrap_socket(self.sock)
|
||||
self.conn = ssl.wrap_socket(self.sock, None, None, False, ssl.CERT_NONE, ssl.SSLv3)
|
||||
self.connected = True
|
||||
|
||||
def disconnect(self):
|
||||
|
||||
Reference in New Issue
Block a user