瀏覽代碼

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