summaryrefslogtreecommitdiffstats
path: root/Modules/_ssl.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-09-01 20:55:41 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-09-01 20:55:41 (GMT)
commit67e8e5633ed52454e9e47e67cf016997c0832b65 (patch)
treea8cd501767ba8432d274e924111ea47ddf5a2849 /Modules/_ssl.c
parenta09dc9e38a43f7129b5702200389044dc51541f9 (diff)
downloadcpython-67e8e5633ed52454e9e47e67cf016997c0832b65.zip
cpython-67e8e5633ed52454e9e47e67cf016997c0832b65.tar.gz
cpython-67e8e5633ed52454e9e47e67cf016997c0832b65.tar.bz2
Try to fix some buildbot failures on test_ssl
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r--Modules/_ssl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index 7874c24..ba5972a 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -1581,6 +1581,7 @@ load_cert_chain(PySSLContext *self, PyObject *args, PyObject *kwds)
int r;
errno = 0;
+ ERR_clear_error();
if (!PyArg_ParseTupleAndKeywords(args, kwds,
"O|O:load_cert_chain", kwlist,
&certfile, &keyfile))