[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Maint branch: (possibly) fix error codes on SSL_connect
Update of /home/minion/cvsroot/src/minion/src
In directory moria.mit.edu:/tmp/cvs-serv532/src
Modified Files:
Tag: mixminion-v0-0-5-patches
tls.c
Log Message:
Maint branch: (possibly) fix error codes on SSL_connect
Index: tls.c
===================================================================
RCS file: /home/minion/cvsroot/src/minion/src/tls.c,v
retrieving revision 1.26
retrieving revision 1.26.2.1
diff -u -d -r1.26 -r1.26.2.1
--- tls.c 13 Jul 2003 03:45:36 -0000 1.26
+++ tls.c 13 Oct 2003 17:00:39 -0000 1.26.2.1
@@ -354,7 +354,7 @@
mm_TLSSock_connect(PyObject *self, PyObject *args, PyObject *kwargs)
{
SSL *ssl;
- int r, err;
+ int r;
assert(mm_TLSSock_Check(self));
FAIL_IF_ARGS();
@@ -365,7 +365,6 @@
r = SSL_connect(ssl);
Py_END_ALLOW_THREADS
if (r <= 0) {
- err = SSL_get_error(ssl,r);
tls_error(ssl, r, 0);
return NULL;
}