aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-11-24 17:02:22 -0500
committerNick Mathewson <nickm@torproject.org>2010-11-24 17:02:22 -0500
commit251b40f720d374918c4f453c73c2f59162757795 (patch)
treeffef18e7065280828bc3fbe766672f698ca5b346 /src
parente57cb6b9762a2f94818738b5790d09c292e1bc24 (diff)
parentde75afc5561fe931d1ff4d29ae629a92205154f0 (diff)
downloadtor-251b40f720d374918c4f453c73c2f59162757795.tar
tor-251b40f720d374918c4f453c73c2f59162757795.tar.gz
Merge remote branch 'rransom/fix2195-fix' into maint-0.2.2
Diffstat (limited to 'src')
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 3d4ee7039..66ef8ec52 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -1523,7 +1523,7 @@ router_rebuild_descriptor(int force)
/* Let bridges serve their own descriptors unencrypted, so they can
* pass reachability testing. (If they want to be harder to notice,
* they can always leave the DirPort off). */
- if (!options->BridgeRelay)
+ if (ei && !options->BridgeRelay)
ei->cache_info.send_unencrypted = 1;
router_get_router_hash(ri->cache_info.signed_descriptor_body,