[Python-checkins] Remove an unneeded call into OpenSSL (GH-6887)
Alex Gaynor
webhook-mailer at python.org
Wed May 16 13:02:12 EDT 2018
https://github.com/python/cpython/commit/55e53c309359327e54eb74b101c5a3240ea9cd45
commit: 55e53c309359327e54eb74b101c5a3240ea9cd45
branch: master
author: Alex Gaynor <alex.gaynor at gmail.com>
committer: GitHub <noreply at github.com>
date: 2018-05-16T13:02:06-04:00
summary:
Remove an unneeded call into OpenSSL (GH-6887)
files:
M Modules/_ssl.c
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
More information about the Python-checkins
mailing list