mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 09:21:39 +00:00
interface: slow_parse() is not defined for X509
This commit is contained in:
parent
604d5d432c
commit
9c06bee8c7
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue