Forráskód Böngészése

Make "HashedControlPassword" an alias for "__HashedControlSessionPassword"
if it appears on the commandline. should help with bug 586.


svn:r13683

Roger Dingledine 16 éve
szülő
commit
cd4b95e402
2 módosított fájl, 5 hozzáadás és 2 törlés
  1. 4 2
      ChangeLog
  2. 1 0
      src/or/config.c

+ 4 - 2
ChangeLog

@@ -47,8 +47,10 @@ Changes in version 0.2.0.20-?? - 2008-02-??
 
   o Minor features (controller):
     - Add a new __HashedControlSessionPassword option for controllers
-      to use for one-off session password hashes that shouldn't get
-      saved to disk by SAVECONF.  Partial fix for bug 586.
+      to use for one-off session password hashes that shouldn't
+      get saved to disk by SAVECONF. Make Tor automatically convert
+      "HashedControlPassword" to this new option but only when it's
+      given on the command line. Partial fix for bug 586.
 
   o Minor features (logging):
     - When SafeLogging is disabled, log addresses along with all TLS

+ 1 - 0
src/or/config.c

@@ -84,6 +84,7 @@ static config_abbrev_t _option_abbrevs[] = {
   { "SearchDomains", "ServerDNSSearchDomains", 0, 1},
   { "PreferTunnelledDirConns", "PreferTunneledDirConns", 0, 0},
   { "BridgeAuthoritativeDirectory", "BridgeAuthoritativeDir", 0, 0},
+  { "HashedControlPassword", "__HashedControlSessionPassword", 1, 0},
   { NULL, NULL, 0, 0},
 };
 /* A list of state-file abbreviations, for compatibility. */