diff options
author | Roger Dingledine <arma@torproject.org> | 2007-03-01 04:26:30 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-03-01 04:26:30 +0000 |
commit | dba4e040fcf1f19022abac7454d7a78844de2a91 (patch) | |
tree | 32bb6d9d0709eb0521988793f09f3850c3d014b9 /src/or/directory.c | |
parent | cbab0530c6f9d08b6037feb9d89ae6ee3dba59c1 (diff) | |
download | tor-dba4e040fcf1f19022abac7454d7a78844de2a91.tar.gz tor-dba4e040fcf1f19022abac7454d7a78844de2a91.zip |
Disable encrypted directory connections when we don't have a server
descriptor for the destination. We'll get this working again in
the 0.2.0 branch.
svn:r9700
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index d3e582ce7b..261cbd1034 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -372,7 +372,8 @@ directory_initiate_command(const char *address, uint32_t addr, { dir_connection_t *conn; or_options_t *options = get_options(); - int want_to_tunnel = options->TunnelDirConns && supports_begindir; + int want_to_tunnel = options->TunnelDirConns && supports_begindir && + router_get_by_digest(digest); tor_assert(address); tor_assert(addr); |