electrum

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

commit 476d198be9656572deedb5ec071be68ff516d3b0
parent e8d30129eae10b5efeaa9e95a900576e41dd2bf1
Author: ThomasV <thomasv@gitorious>
Date:   Tue,  4 Aug 2015 18:31:08 +0200

fix missing occurences of X509.parse

Diffstat:
Mlib/interface.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/interface.py b/lib/interface.py @@ -202,7 +202,7 @@ class TcpInterface(threading.Thread): cert = f.read() try: x = x509.X509() - x.parse(cert) + x.parseBinary(cert) except: traceback.print_exc(file=sys.stderr) self.print_error("wrong certificate") @@ -344,7 +344,7 @@ def check_host_name(peercert, name): def check_cert(host, cert): try: x = x509.X509() - x.parse(cert) + x.parseBinary(cert) except: traceback.print_exc(file=sys.stdout) return