[or-cvs] Document remaining configuration options; add a ccheck for ...
Nick Mathewson
nickm at seul.org
Sat Nov 13 17:17:06 UTC 2004
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv1657/src/or
Modified Files:
config.c
Log Message:
Document remaining configuration options; add a ccheck for redundant authentication mechanisms in options_validate; add TODO items for post-009 hibernation features
Index: config.c
===================================================================
RCS file: /home/or/cvsroot/src/or/config.c,v
retrieving revision 1.247
retrieving revision 1.248
diff -u -d -r1.247 -r1.248
--- config.c 13 Nov 2004 16:53:48 -0000 1.247
+++ config.c 13 Nov 2004 17:17:04 -0000 1.248
@@ -1317,6 +1317,11 @@
result = -1;
}
}
+ if (options->HashedControlPassword && options->CookieAuthentication) {
+ log_fn(LOG_WARN,"Cannot enable both HashedControlPassword and CookieAuthentication");
+ result = -1;
+ }
+
if (check_nickname_list(options->ExitNodes, "ExitNodes"))
result = -1;
if (check_nickname_list(options->EntryNodes, "EntryNodes"))
More information about the tor-commits
mailing list