Remove an unneeded call into OpenSSL (GH-6887)
This commit is contained in:
parent
2d2d3b170b
commit
55e53c3093
@ -901,7 +901,6 @@ newPySSLSocket(PySSLContext *sslctx, PySocketSockObject *sock,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Make sure the SSL error state is initialized */
|
/* Make sure the SSL error state is initialized */
|
||||||
(void) ERR_get_state();
|
|
||||||
ERR_clear_error();
|
ERR_clear_error();
|
||||||
|
|
||||||
PySSL_BEGIN_ALLOW_THREADS
|
PySSL_BEGIN_ALLOW_THREADS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user