]> granicus.if.org Git - python/commitdiff
Try to fix some buildbot failures on test_ssl
authorAntoine Pitrou <solipsis@pitrou.net>
Wed, 1 Sep 2010 20:55:41 +0000 (20:55 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Wed, 1 Sep 2010 20:55:41 +0000 (20:55 +0000)
Modules/_ssl.c

index 7874c242103fe24a18aa2fc5be31a8ef574511c0..ba5972a89336de7e4715d425ed6519c971230ded 100644 (file)
@@ -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))