[issue12803] SSLContext.load_cert_chain() should accept a password argument
Antoine Pitrou
report at bugs.python.org
Wed Aug 24 15:46:48 CEST 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
Thanks for the patch. This is a generally useful functionality and the patch looks mostly good.
I have a couple comments:
- in _pwinfo_set(), you need to decref password_bytes when you're finished
- you check the password size in _password_callback() but not in _pwinfo_set(), is it expected? is the size limit only meaningful with a callback rather than a predefined password?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12803>
_______________________________________
More information about the Python-bugs-list
mailing list