Fix Deluge SSL negotiation errors on Windows machines.

This commit is contained in:
Techmunk
2013-09-16 23:12:46 +10:00
parent 70f834d925
commit 87f295be28

View File

@@ -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):