allow OPs to set a DirPort and cache/serve directories

(hey, why not, it works)


svn:r2099
This commit is contained in:
Roger Dingledine 2004-07-22 06:04:54 +00:00
parent a403c1035e
commit c1450319f4

View File

@ -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()))