aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-02-16 02:06:54 +0000
committerRoger Dingledine <arma@torproject.org>2005-02-16 02:06:54 +0000
commit797419a62cb9e9a4118d557342d7294decce1a1d (patch)
tree4da446da7d13ddc010e75bf87fab40eca441c3d4 /src
parentbfa9a72d5e70e81543169ab48adb8121f053665b (diff)
downloadtor-797419a62cb9e9a4118d557342d7294decce1a1d.tar.gz
tor-797419a62cb9e9a4118d557342d7294decce1a1d.zip
remove unused code
svn:r3629
Diffstat (limited to 'src')
-rw-r--r--src/or/circuitbuild.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index b43fc62c5f..edf76da110 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -478,7 +478,6 @@ int circuit_extend(cell_t *cell, circuit_t *circ) {
relay_header_t rh;
char *onionskin;
char *id_digest=NULL;
- routerinfo_t *router;
if (circ->n_conn) {
log_fn(LOG_WARN,"n_conn already set. Bug/attack. Closing.");
@@ -508,8 +507,6 @@ int circuit_extend(cell_t *cell, circuit_t *circ) {
log_fn(LOG_INFO,"Next router (%s:%d) not connected. Connecting.",
inet_ntoa(in), circ->n_port);
- router = router_get_by_digest(id_digest);
-
memcpy(circ->onionskin, onionskin, ONIONSKIN_CHALLENGE_LEN);
circ->state = CIRCUIT_STATE_OR_WAIT;