summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-04-01 17:30:46 -0400
committerNick Mathewson <nickm@torproject.org>2019-04-12 08:33:27 -0400
commite9ca904dbfc99ebef567d7bb2c6d87819d0d832c (patch)
tree2a742d8af2d2ce506b388563f5389ab40e57056c /src
parentf3bd0240a6089910f3075a779b32e7aed07338e0 (diff)
downloadtor-e9ca904dbfc99ebef567d7bb2c6d87819d0d832c.tar.gz
tor-e9ca904dbfc99ebef567d7bb2c6d87819d0d832c.zip
Define two more commands as wipe-after-parse.
Diffstat (limited to 'src')
-rw-r--r--src/feature/control/control_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/control/control_cmd.c b/src/feature/control/control_cmd.c
index 56202a7ef4..930276b104 100644
--- a/src/feature/control/control_cmd.c
+++ b/src/feature/control/control_cmd.c
@@ -2328,7 +2328,7 @@ static const control_cmd_def_t CONTROL_COMMANDS[] =
ONE_LINE(getconf, legacy_mut, 0),
MULTLINE(loadconf, legacy, 0),
ONE_LINE(setevents, legacy, 0),
- ONE_LINE(authenticate, legacy, 0),
+ ONE_LINE(authenticate, legacy, CMD_FL_WIPE),
ONE_LINE(saveconf, legacy, 0),
ONE_LINE(signal, legacy, 0),
ONE_LINE(takeownership, legacy, 0),
@@ -2346,7 +2346,7 @@ static const control_cmd_def_t CONTROL_COMMANDS[] =
ONE_LINE(usefeature, legacy, 0),
ONE_LINE(resolve, legacy, 0),
ONE_LINE(protocolinfo, legacy, 0),
- ONE_LINE(authchallenge, legacy, 0),
+ ONE_LINE(authchallenge, legacy, CMD_FL_WIPE),
ONE_LINE(dropguards, legacy, 0),
ONE_LINE(hsfetch, legacy, 0),
MULTLINE(hspost, legacy, 0),