diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-09-01 20:55:41 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-09-01 20:55:41 (GMT) |
commit | 67e8e5633ed52454e9e47e67cf016997c0832b65 (patch) | |
tree | a8cd501767ba8432d274e924111ea47ddf5a2849 /Modules/_ssl.c | |
parent | a09dc9e38a43f7129b5702200389044dc51541f9 (diff) | |
download | cpython-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.c | 1 |
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)) |