diff options
author | Roger Dingledine <arma@torproject.org> | 2003-09-11 20:06:55 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-09-11 20:06:55 +0000 |
commit | 44c3a7c2d7de0b3f765e9847108a7b880b741039 (patch) | |
tree | 55445f60ddbf1b95d99aa474de69aca065e15a25 /src/or/connection_or.c | |
parent | e22b2718955ef0409c63a82a506193d1a63b090d (diff) | |
download | tor-44c3a7c2d7de0b3f765e9847108a7b880b741039.tar.gz tor-44c3a7c2d7de0b3f765e9847108a7b880b741039.zip |
collect info from peer we just handshaked with
svn:r439
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 6250eba9a6..231a62ac94 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -237,7 +237,7 @@ or_handshake_op_send_keys(connection_t *conn) { assert(conn && conn->type == CONN_TYPE_OR); - conn->bandwidth = DEFAULT_BANDWIDTH_OP; /* XXX USE_TLS */ + conn->bandwidth = DEFAULT_BANDWIDTH_OP; /* generate random keys */ if(crypto_cipher_generate_key(conn->f_crypto) || @@ -520,7 +520,7 @@ or_handshake_server_process_auth(connection_t *conn) { crypto_cipher_set_key(conn->b_crypto,buf+14); crypto_cipher_set_key(conn->f_crypto,buf+30); - conn->bandwidth = router->bandwidth; /* XXX USE_TLS and below */ + conn->bandwidth = router->bandwidth; /* copy all relevant info to conn */ conn->addr = router->addr, conn->port = router->or_port; |