electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 8957c705ac367d9762de29bb9a5fbdea8b38be2a
parent 87a28d31a457801cee68bfbd3458497b5407ff4e
Author: thomasv <thomasv@gitorious>
Date:   Wed, 17 Oct 2012 12:54:32 +0200

use SSLv23

Diffstat:
Mlib/interface.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/interface.py b/lib/interface.py @@ -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)