File python-3.0b3-ssl-compat.patch of Package python3
Index: Modules/_ssl.c
===================================================================
--- Modules/_ssl.c.orig 2010-10-14 00:20:48.000000000 +0200
+++ Modules/_ssl.c 2011-01-14 21:01:50.303538828 +0100
@@ -317,6 +317,8 @@ newPySSLObject(PySocketSockObject *Sock,
goto fail;
}
+ SSL_CTX_set_options(self->ctx, SSL_OP_ALL); /* ssl compatibility */
+
if (certreq != PY_SSL_CERT_NONE) {
if (cacerts_file == NULL) {
errstr = ERRSTR("No root certificates specified for "