aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-09-12 06:50:21 +0000
committerRoger Dingledine <arma@torproject.org>2003-09-12 06:50:21 +0000
commit1738af96202ebf0a9830893d627c5913a04984a3 (patch)
tree33ce05d345016ba886ac01f735a29e22941d9152 /src/or/connection_or.c
parentb1078b7a3cdf805b60ceba934fc70610c3a923f4 (diff)
downloadtor-1738af96202ebf0a9830893d627c5913a04984a3.tar
tor-1738af96202ebf0a9830893d627c5913a04984a3.tar.gz
tls works between routers now too
things are still a bit shaky svn:r450
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r--src/or/connection_or.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index 832330d93..f9bd2f848 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -86,7 +86,7 @@ int connection_or_finished_flushing(connection_t *conn) {
conn->address,conn->port);
#ifdef USE_TLS
- if(connection_tls_start_handshake(conn) < 0)
+ if(connection_tls_start_handshake(conn, 0) < 0)
return -1;
#else
if(options.OnionRouter)
@@ -205,7 +205,7 @@ connection_t *connection_or_connect(routerinfo_t *router) {
router->address, router->or_port);
#ifdef USE_TLS
- if(connection_tls_start_handshake(conn) >= 0)
+ if(connection_tls_start_handshake(conn, 0) >= 0)
return conn;
#else
if((options.OnionRouter && or_handshake_client_send_auth(conn) >= 0) ||