Explorar o código

allow OPs to set a DirPort and cache/serve directories
(hey, why not, it works)


svn:r2099

Roger Dingledine %!s(int64=21) %!d(string=hai) anos
pai
achega
c1450319f4
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/or/router.c

+ 0 - 1
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()))