aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-08-21 03:11:56 +0000
committerRoger Dingledine <arma@torproject.org>2007-08-21 03:11:56 +0000
commit8a21232256a9aeae0a9a2da2563f734ca43f5e56 (patch)
treefe771412eeb07ba20f6476d5c3fc8e5eb90ec6ed /src
parentc7140372cb25977b7c7ac1364699d50be3f187ed (diff)
downloadtor-8a21232256a9aeae0a9a2da2563f734ca43f5e56.tar
tor-8a21232256a9aeae0a9a2da2563f734ca43f5e56.tar.gz
Stop putting the authentication cookie in a file called "0"
in your working directory if you don't specify anything for the new CookieAuthFile option. Reported by Matt Edman. svn:r11237
Diffstat (limited to 'src')
-rw-r--r--src/or/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index ca8f1d51a..a6ca37dd2 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -153,7 +153,7 @@ static config_var_t _option_vars[] = {
VAR("ControlSocket", LINELIST, ControlSocket, NULL),
VAR("CookieAuthentication",BOOL, CookieAuthentication, "0"),
VAR("CookieAuthFileGroupReadable",BOOL,CookieAuthFileGroupReadable, "0"),
- VAR("CookieAuthFile", STRING, CookieAuthFile, "0"),
+ VAR("CookieAuthFile", STRING, CookieAuthFile, NULL),
VAR("DataDirectory", STRING, DataDirectory, NULL),
OBSOLETE("DebugLogFile"),
VAR("DirAllowPrivateAddresses",BOOL, DirAllowPrivateAddresses, NULL),