Revert all changes unrelated to the new *client_CA* functionality.
diff --git a/src/ssl/connection.c b/src/ssl/connection.c
index bd39b66..90a9652 100755
--- a/src/ssl/connection.c
+++ b/src/ssl/connection.c
@@ -819,21 +819,10 @@
return NULL;
lst = PyList_New(0);
- if (lst == NULL) {
- return NULL;
- }
while ((ret = SSL_get_cipher_list(self->ssl, idx)) != NULL)
{
item = PyString_FromString(ret);
- if (item == NULL) {
- Py_DECREF(lst);
- return NULL;
- }
- if (PyList_Append(lst, item)) {
- Py_DECREF(lst);
- Py_DECREF(item);
- return NULL;
- }
+ PyList_Append(lst, item);
Py_DECREF(item);
idx++;
}