Переглянути джерело

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


svn:r2099

Roger Dingledine 21 роки тому
батько
коміт
c1450319f4
1 змінених файлів з 0 додано та 1 видалено
  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()))