Fixes bug 9573.
Bugfix on
59453ac6e in 0.0.9pre5, which fixed a crash in a silly way.
names as command-line options. Fixes bugs 4647 and 9578; bugfix on
0.0.9pre5.
-
-
+ - No longer allow 'tor --hash-password' with no arguments. Fixes bug
+ 9573; bugfix on 0.0.9pre5.
configuration file, and by those on the command line. (Default:
@CONFDIR@/torrc-defaults.)
-**--hash-password**::
+**--hash-password** __PASSWORD__::
Generates a hashed password for control port access.
**--list-fingerprint**::
}
if (want_arg && i == argc-1) {
- if (!strcmp(argv[i],"--hash-password") || ignore_errors) {
+ if (ignore_errors) {
arg = strdup("");
} else {
log_warn(LD_CONFIG,"Command-line option '%s' with no value. Failing.",