tuse SSLv23 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 8957c705ac367d9762de29bb9a5fbdea8b38be2a DIR parent 87a28d31a457801cee68bfbd3458497b5407ff4e HTML Author: thomasv <thomasv@gitorious> Date: Wed, 17 Oct 2012 12:54:32 +0200 use SSLv23 Diffstat: M lib/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/interface.py b/lib/interface.py t@@ -243,7 +243,7 @@ class TcpStratumInterface(InterfaceAncestor): s.setproxy(proxy_modes.index(self.proxy["mode"]), self.proxy["host"], int(self.proxy["port"]) ) if self.use_ssl: - s = ssl.wrap_socket(s, ssl_version=ssl.PROTOCOL_TLSv1) + s = ssl.wrap_socket(s, ssl_version=ssl.PROTOCOL_SSLv23) s.settimeout(2) s.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1)