aboutsummaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-08-16 17:46:01 +0000
committerNick Mathewson <nickm@torproject.org>2007-08-16 17:46:01 +0000
commit718953dbe97446e0c2b4b1ccae3b2be0d36473a1 (patch)
treed072e9f51dfd268b86131c14fd2860961cbff92b /src/or/config.c
parentf4398feadb8e3c1af51a825ac0eafe5abc08683d (diff)
downloadtor-718953dbe97446e0c2b4b1ccae3b2be0d36473a1.tar
tor-718953dbe97446e0c2b4b1ccae3b2be0d36473a1.tar.gz
r14606@catbus: nickm | 2007-08-16 13:45:01 -0400
Implement CookieAuthFile and CookieAuthFileGroupReadable. Backport candidate. svn:r11141
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 5b562adc7..2ee672384 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -152,6 +152,9 @@ static config_var_t _option_vars[] = {
VAR("ControlPort", UINT, ControlPort, "0"),
VAR("ControlSocket", LINELIST, ControlSocket, NULL),
VAR("CookieAuthentication",BOOL, CookieAuthentication, "0"),
+ VAR("CookieAuthFileGroupReadable",BOOL, CookieAuthFileGroupReadable, "0"),
+ VAR("CookieAuthFile", STRING, CookieAuthFile, "0"),
+ VAR("CookieAuthentication",BOOL, CookieAuthentication, "0"),
VAR("DataDirectory", STRING, DataDirectory, NULL),
OBSOLETE("DebugLogFile"),
VAR("DirAllowPrivateAddresses",BOOL, DirAllowPrivateAddresses, NULL),