don't fail when there is an unreadable certificate file.

This commit is contained in:
Yann Leboulanger 2009-01-24 12:45:57 +00:00
parent c14c993574
commit 8b61a2050f
1 changed files with 1 additions and 0 deletions

View File

@ -307,6 +307,7 @@ class NonBlockingTLS(PlugIn):
except IOError, e:
log.warning('Unable to open certificate file %s: %s' % \
(cert_path, str(e)))
return
lines = f.readlines()
i = 0
begin = -1