diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-08-04 12:00:51 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-04 12:00:51 -0400 |
commit | 32b4fd5be9574a1f17947416889be9067db483b7 (patch) | |
tree | 37c4c8edca3f6faac4af0d0e9aafaaa8dec9927a /src/or/ntmain.c | |
parent | b2a7e8df900eabe41d6e866f8b66aadd8a0d31d7 (diff) | |
download | tor-32b4fd5be9574a1f17947416889be9067db483b7.tar.gz tor-32b4fd5be9574a1f17947416889be9067db483b7.zip |
Handle CMD_KEY_EXPIRATION in ntmain.c switch statement
This fixes a compilation warning on windows.
Bug not in any released Tor.
Diffstat (limited to 'src/or/ntmain.c')
-rw-r--r-- | src/or/ntmain.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/ntmain.c b/src/or/ntmain.c index d0d5276c48..7a85ba9708 100644 --- a/src/or/ntmain.c +++ b/src/or/ntmain.c @@ -329,9 +329,10 @@ nt_service_main(void) case CMD_VERIFY_CONFIG: case CMD_DUMP_CONFIG: case CMD_KEYGEN: + case CMD_KEY_EXPIRATION: log_err(LD_CONFIG, "Unsupported command (--list-fingerprint, " - "--hash-password, --keygen, --dump-config, or --verify-config) " - "in NT service."); + "--hash-password, --keygen, --dump-config, --verify-config, " + "or --key-expiration) in NT service."); break; case CMD_RUN_UNITTESTS: default: |