mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Handle CMD_KEY_EXPIRATION in ntmain.c switch statement
This fixes a compilation warning on windows. Bug not in any released Tor.
This commit is contained in:
parent
b2a7e8df90
commit
32b4fd5be9
@ -329,9 +329,10 @@ nt_service_main(void)
|
|||||||
case CMD_VERIFY_CONFIG:
|
case CMD_VERIFY_CONFIG:
|
||||||
case CMD_DUMP_CONFIG:
|
case CMD_DUMP_CONFIG:
|
||||||
case CMD_KEYGEN:
|
case CMD_KEYGEN:
|
||||||
|
case CMD_KEY_EXPIRATION:
|
||||||
log_err(LD_CONFIG, "Unsupported command (--list-fingerprint, "
|
log_err(LD_CONFIG, "Unsupported command (--list-fingerprint, "
|
||||||
"--hash-password, --keygen, --dump-config, or --verify-config) "
|
"--hash-password, --keygen, --dump-config, --verify-config, "
|
||||||
"in NT service.");
|
"or --key-expiration) in NT service.");
|
||||||
break;
|
break;
|
||||||
case CMD_RUN_UNITTESTS:
|
case CMD_RUN_UNITTESTS:
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user