[issue4870] ssl module is missing SSL_OP_NO_SSLv2

Antoine Pitrou report at bugs.python.org
Mon May 17 01:28:08 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

It turns out SSL_CTX_clear_options() is not available before OpenSSL 0.9.8m. I adapted my patch to raise a ValueError when trying to clear options on older versions of OpenSSL. Setting additional options still works, though.

----------
Added file: http://bugs.python.org/file17377/sslopts4.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4870>
_______________________________________


More information about the Python-bugs-list mailing list