[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #12948 [Tor]: TBB Linux 4.0-Alpha-1 HashedControlPassword not working
#12948: TBB Linux 4.0-Alpha-1 HashedControlPassword not working
-------------------------+-------------------------------------------------
Reporter: vis15 | Owner: isis
Type: defect | Status: accepted
Priority: normal | Milestone: Tor: unspecified
Component: Tor | Version: Tor: unspecified
Resolution: | Keywords: TBB, Linux, HashedControlPassword,
Actual Points: | Alpha
Points: | Parent ID:
-------------------------+-------------------------------------------------
Comment (by arma):
Confirmed: this patch fixes it for me:
{{{
index 6bb6209..921503b 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -1932,7 +1932,8 @@ config_parse_commandline(int argc, char **argv, int
ignore
}
param = tor_malloc_zero(sizeof(config_line_t));
- param->key = is_cmdline ? tor_strdup(argv[i]) : tor_strdup(s);
+ param->key = is_cmdline ? tor_strdup(argv[i]) :
+ tor_strdup(config_expand_abbrev(&options_format, s, 1,
1));
param->value = arg;
param->command = command;
param->next = NULL;
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12948#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs