[tor-commits] [tor/master] Define two more commands as wipe-after-parse.
dgoulet at torproject.org
dgoulet at torproject.org
Tue Apr 30 15:57:51 UTC 2019
commit e9ca904dbfc99ebef567d7bb2c6d87819d0d832c
Author: Nick Mathewson <nickm at torproject.org>
Date: Mon Apr 1 17:30:46 2019 -0400
Define two more commands as wipe-after-parse.
---
src/feature/control/control_cmd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/feature/control/control_cmd.c b/src/feature/control/control_cmd.c
index 56202a7ef..930276b10 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),
More information about the tor-commits
mailing list