[issue18138] ssl.SSLContext.add_cert()
Christian Heimes
report at bugs.python.org
Tue Jun 18 19:30:00 CEST 2013
Christian Heimes added the comment:
I'm pondering about the error case "cert already in hash table". There should be a way to distinguish the error from other errors. I see three ways to handle the case:
1) introduce SSLCertInStoreError exeption
2) ignore the error and do nothing
3) ignore the error and return True if a cert was added or False if the cert is already in the store
I like 3).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18138>
_______________________________________
More information about the Python-bugs-list
mailing list