compatibility with various broken SSL implementations out there.
- Bug #954364: inspect.getframeinfo() sometimes produces incorrect traceback
line numbers
+- Patch #909007: Enable a bunch of safe bug workarounds in OpenSSL, for
+ the sake of compatibility with various broken SSL implementations.
+
Library
-------
Py_BEGIN_ALLOW_THREADS
SSL_CTX_set_verify(self->ctx,
SSL_VERIFY_NONE, NULL); /* set verify lvl */
+ SSL_CTX_set_options(self->ctx, SSL_OP_ALL); /* ssl compatibility */
self->ssl = SSL_new(self->ctx); /* New ssl struct */
Py_END_ALLOW_THREADS
SSL_set_fd(self->ssl, Sock->sock_fd); /* Set the socket for SSL */