[or-cvs] and now the exciting part: there is now no such thing as do...

arma at seul.org arma at seul.org
Wed Jun 7 06:21:13 UTC 2006


Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	connection_or.c 
Log Message:
and now the exciting part: there is now no such thing as doing
a client-only tls, that is, one with no certs.


Index: connection_or.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/connection_or.c,v
retrieving revision 1.219
retrieving revision 1.220
diff -u -p -d -r1.219 -r1.220
--- connection_or.c	5 Jun 2006 08:02:04 -0000	1.219
+++ connection_or.c	7 Jun 2006 06:21:11 -0000	1.220
@@ -492,7 +492,7 @@ int
 connection_tls_start_handshake(connection_t *conn, int receiving)
 {
   conn->state = OR_CONN_STATE_HANDSHAKING;
-  conn->tls = tor_tls_new(conn->s, receiving, 0);
+  conn->tls = tor_tls_new(conn->s, receiving);
   if (!conn->tls) {
     log_warn(LD_BUG,"tor_tls_new failed. Closing.");
     return -1;



More information about the tor-commits mailing list