[or-cvs] allow OPs to set a DirPort and cache/serve directories
Roger Dingledine
arma at seul.org
Thu Jul 22 06:04:57 UTC 2004
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
router.c
Log Message:
allow OPs to set a DirPort and cache/serve directories
(hey, why not, it works)
Index: router.c
===================================================================
RCS file: /home/or/cvsroot/src/or/router.c,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -d -r1.74 -r1.75
--- router.c 22 Jul 2004 06:03:52 -0000 1.74
+++ router.c 22 Jul 2004 06:04:54 -0000 1.75
@@ -234,7 +234,6 @@
/* 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()))
More information about the tor-commits
mailing list