diff options
author | Roger Dingledine <arma@torproject.org> | 2004-07-02 09:29:01 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-07-02 09:29:01 +0000 |
commit | 62dcf9e20fad29e55eca6527414f305aaf99e984 (patch) | |
tree | da611902563addfd0b7099794e29fe764bb9cf03 /src/or/circuitlist.c | |
parent | cbab134bd98984a7758ac8cd80daa4a9bf16a406 (diff) | |
download | tor-62dcf9e20fad29e55eca6527414f305aaf99e984.tar.gz tor-62dcf9e20fad29e55eca6527414f305aaf99e984.zip |
some of the infrastructure to let ORs connect on demand
svn:r1998
Diffstat (limited to 'src/or/circuitlist.c')
-rw-r--r-- | src/or/circuitlist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c index c050156c82..f1280c4d71 100644 --- a/src/or/circuitlist.c +++ b/src/or/circuitlist.c @@ -454,6 +454,8 @@ void assert_circuit_ok(const circuit_t *c) if (c->n_conn) tor_assert(c->n_conn->type == CONN_TYPE_OR); + /* XXX008 have to memcpy id_digest when we attach n_conn */ + tor_assert(!memcmp(c->n_conn->identity_digest, c->n_conn_id_digest, DIGEST_LEN)); if (c->p_conn) tor_assert(c->p_conn->type == CONN_TYPE_OR); for (conn = c->p_streams; conn; conn = conn->next_stream) |