diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-05-31 12:24:02 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-05-31 12:24:02 -0400 |
commit | 155543d26e21f992237c2fff159869cc663ae049 (patch) | |
tree | 03d7376b1ef063b1a0194e237b57946cfa985e55 /src/or/directory.c | |
parent | 11bf5585aafa4ea590b4f4b62a75323fb5907d95 (diff) | |
parent | 8f070ecbc000c3ca32ff1467716f777a44d0eda4 (diff) | |
download | tor-155543d26e21f992237c2fff159869cc663ae049.tar tor-155543d26e21f992237c2fff159869cc663ae049.tar.gz |
Merge remote-tracking branch 'public/bug1938'
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 6394aece7..3d2b95565 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -130,8 +130,9 @@ purpose_needs_anonymity(uint8_t dir_purpose, uint8_t router_purpose) { if (get_options()->AllDirActionsPrivate) return 1; - if (router_purpose == ROUTER_PURPOSE_BRIDGE && can_complete_circuit) - return 1; /* if no circuits yet, we may need this info to bootstrap. */ + if (router_purpose == ROUTER_PURPOSE_BRIDGE) + return 1; /* if no circuits yet, this might break bootstrapping, but it's + * needed to be safe. */ if (dir_purpose == DIR_PURPOSE_UPLOAD_DIR || dir_purpose == DIR_PURPOSE_UPLOAD_VOTE || dir_purpose == DIR_PURPOSE_UPLOAD_SIGNATURES || |