diff options
-rw-r--r-- | Modules/_ssl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 76cd7dd..906a72a 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -220,6 +220,7 @@ newPySSLObject(PySocketSockObject *Sock, char *key_file, char *cert_file) ret = SSL_CTX_use_certificate_chain_file(self->ctx, 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"; goto fail; |