From 797419a62cb9e9a4118d557342d7294decce1a1d Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 16 Feb 2005 02:06:54 +0000 Subject: [PATCH] remove unused code svn:r3629 --- src/or/circuitbuild.c | 3 --- 1 file changed, 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;