Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79d7e92 commit 27d3ddaCopy full SHA for 27d3dda
1 file changed
Modules/_ssl.c
@@ -220,6 +220,7 @@ newPySSLObject(PySocketSockObject *Sock, char *key_file, char *cert_file)
220
ret = SSL_CTX_use_certificate_chain_file(self->ctx,
221
cert_file);
222
Py_END_ALLOW_THREADS
223
+ SSL_CTX_set_options(self->ctx, SSL_OP_ALL); /* ssl compatibility */
224
if (ret < 1) {
225
errstr = "SSL_CTX_use_certificate_chain_file error";
226
goto fail;
0 commit comments