[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Define two more commands as wipe-after-parse.



commit e9ca904dbfc99ebef567d7bb2c6d87819d0d832c
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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),



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits