summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2018-05-16 13:02:06 -0400
committerGitHub <noreply@github.com>2018-05-16 13:02:06 -0400
commit55e53c309359327e54eb74b101c5a3240ea9cd45 (patch)
treed89a52611f7d8d47710a6a055421a7361f3a6e74 /Modules
parent2d2d3b170bdebc085900bfa2a3bc81b5d132d0a8 (diff)
downloadcpython-git-55e53c309359327e54eb74b101c5a3240ea9cd45.tar.gz
Remove an unneeded call into OpenSSL (GH-6887)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_ssl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index bf379f01a1..2bce4816d2 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