]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove an unneeded call into OpenSSL (GH-6887)
authorAlex Gaynor <alex.gaynor@gmail.com>
Wed, 16 May 2018 17:02:06 +0000 (13:02 -0400)
committerGitHub <noreply@github.com>
Wed, 16 May 2018 17:02:06 +0000 (13:02 -0400)
Modules/_ssl.c

index bf379f01a1d2bf5d418848bf0f432279cb8c7b59..2bce4816d26fe78783489d8478da583e3e23c325 100644 (file)
@@ -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