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