interface: slow_parse() is not defined for X509

This commit is contained in:
Roman Zeyde 2015-07-01 16:54:11 +03:00
parent 604d5d432c
commit 9c06bee8c7

View file

@ -228,7 +228,6 @@ class TcpInterface(threading.Thread):
try:
x = x509.X509()
x.parse(cert)
x.slow_parse()
except:
traceback.print_exc(file=sys.stderr)
self.print_error("wrong certificate")
@ -342,7 +341,6 @@ def check_cert(host, cert):
try:
x = x509.X509()
x.parse(cert)
x.slow_parse()
except:
traceback.print_exc(file=sys.stdout)
return