aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-07-22 06:04:54 +0000
committerRoger Dingledine <arma@torproject.org>2004-07-22 06:04:54 +0000
commitc1450319f472f80783e5e2b234d27ee63fc97f7c (patch)
tree70da1b1d8382622a24d284a2fa7ab4e9dcb1a440
parenta403c1035ec808bb772046fa82723bbcd320b193 (diff)
downloadtor-c1450319f472f80783e5e2b234d27ee63fc97f7c.tar
tor-c1450319f472f80783e5e2b234d27ee63fc97f7c.tar.gz
allow OPs to set a DirPort and cache/serve directories
(hey, why not, it works) svn:r2099
-rw-r--r--src/or/router.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 571b5a694..bd7e666d2 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -234,7 +234,6 @@ int init_keys(void) {
/* OP's don't need persistant keys; just make up an identity and
* initialize the TLS context. */
if (!server_mode()) {
- tor_assert(!options.DirPort);
#if 0
/* XXXX008 enable this once we make ORs tolerate unknown routers. */
if (!(prkey = crypto_new_pk_env()))