don't fail when there is an unreadable certificate file.
This commit is contained in:
parent
c14c993574
commit
8b61a2050f
|
@ -307,6 +307,7 @@ class NonBlockingTLS(PlugIn):
|
||||||
except IOError, e:
|
except IOError, e:
|
||||||
log.warning('Unable to open certificate file %s: %s' % \
|
log.warning('Unable to open certificate file %s: %s' % \
|
||||||
(cert_path, str(e)))
|
(cert_path, str(e)))
|
||||||
|
return
|
||||||
lines = f.readlines()
|
lines = f.readlines()
|
||||||
i = 0
|
i = 0
|
||||||
begin = -1
|
begin = -1
|
||||||
|
|
Loading…
Reference in New Issue