trm dead code - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit ae56de316052f7a7dd321394501c022c5ccbabca DIR parent 35a12b22cf735c1e37e06c4e918c018fe92c77c1 HTML Author: ThomasV <thomasv@gitorious> Date: Mon, 18 Aug 2014 18:23:45 +0200 rm dead code Diffstat: M lib/interface.py | 9 --------- 1 file changed, 0 insertions(+), 9 deletions(-) --- DIR diff --git a/lib/interface.py b/lib/interface.py t@@ -36,15 +36,6 @@ proxy_modes = ['socks4', 'socks5', 'http'] import util -def cert_verify_hostname(s): - # hostname verification (disabled) - from backports.ssl_match_hostname import match_hostname, CertificateError - try: - match_hostname(s.getpeercert(True), host) - print_error("hostname matches", host) - except CertificateError, ce: - print_error("hostname did not match", host) - def Interface(server, config = None):