From: Antoine Pitrou Date: Wed, 1 Sep 2010 20:55:41 +0000 (+0000) Subject: Try to fix some buildbot failures on test_ssl X-Git-Tag: v3.2a2~87 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=67e8e5633ed52454e9e47e67cf016997c0832b65;p=python Try to fix some buildbot failures on test_ssl --- diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 7874c24210..ba5972a893 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))