From: Alex Gaynor Date: Wed, 16 May 2018 17:02:06 +0000 (-0400) Subject: Remove an unneeded call into OpenSSL (GH-6887) X-Git-Tag: v3.8.0a1~1831 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=55e53c309359327e54eb74b101c5a3240ea9cd45;p=thirdparty%2FPython%2Fcpython.git Remove an unneeded call into OpenSSL (GH-6887) --- diff --git a/Modules/_ssl.c b/Modules/_ssl.c index bf379f01a1d2..2bce4816d26f 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -901,7 +901,6 @@ newPySSLSocket(PySSLContext *sslctx, PySocketSockObject *sock, #endif /* Make sure the SSL error state is initialized */ - (void) ERR_get_state(); ERR_clear_error(); PySSL_BEGIN_ALLOW_THREADS