[Python-checkins] python/dist/src/Modules _ssl.c,1.17,1.18
akuchling at users.sourceforge.net
akuchling at users.sourceforge.net
Sat Jul 10 23:36:57 CEST 2004
Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3678
Modified Files:
_ssl.c
Log Message:
[Patch #909007] Enable a bunch of safe bug workarounds in OpenSSL, for compatibility with various broken SSL implementations out there.
Index: _ssl.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_ssl.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** _ssl.c 10 Jul 2004 21:15:17 -0000 1.17
--- _ssl.c 10 Jul 2004 21:36:55 -0000 1.18
***************
*** 221,224 ****
--- 221,225 ----
cert_file);
Py_END_ALLOW_THREADS
+ SSL_CTX_set_options(self->ctx, SSL_OP_ALL); /* ssl compatibility */
if (ret < 1) {
errstr = "SSL_CTX_use_certificate_chain_file error";
More information about the Python-checkins
mailing list