From 67e8e5633ed52454e9e47e67cf016997c0832b65 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Wed, 1 Sep 2010 20:55:41 +0000 Subject: [PATCH] Try to fix some buildbot failures on test_ssl --- Modules/_ssl.c | 1 + 1 file changed, 1 insertion(+) 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)) -- 2.40.0