mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
allow OPs to set a DirPort and cache/serve directories
(hey, why not, it works) svn:r2099
This commit is contained in:
parent
a403c1035e
commit
c1450319f4
@ -234,7 +234,6 @@ int init_keys(void) {
|
|||||||
/* OP's don't need persistant keys; just make up an identity and
|
/* OP's don't need persistant keys; just make up an identity and
|
||||||
* initialize the TLS context. */
|
* initialize the TLS context. */
|
||||||
if (!server_mode()) {
|
if (!server_mode()) {
|
||||||
tor_assert(!options.DirPort);
|
|
||||||
#if 0
|
#if 0
|
||||||
/* XXXX008 enable this once we make ORs tolerate unknown routers. */
|
/* XXXX008 enable this once we make ORs tolerate unknown routers. */
|
||||||
if (!(prkey = crypto_new_pk_env()))
|
if (!(prkey = crypto_new_pk_env()))
|
||||||
|
Loading…
Reference in New Issue
Block a user