aboutsummaryrefslogtreecommitdiff
path: root/src/test/test.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-09-23 14:08:24 -0400
committerGeorge Kadianakis <desnacked@riseup.net>2020-10-07 20:46:37 +0300
commitc4812698c3df0bd8aa51c615b0274bbb53b9eb6c (patch)
tree170186e239336d808bd770876845321781e7f69a /src/test/test.h
parent2ceea131406b3f88e4a6a9c6bfc9f47f4940ca47 (diff)
downloadtor-c4812698c3df0bd8aa51c615b0274bbb53b9eb6c.tar.gz
tor-c4812698c3df0bd8aa51c615b0274bbb53b9eb6c.zip
Remove long-obsolete members from the state file.
Tor has a feature to preserve unrecognized state file entries in order to maintain forward compatibility. But this feature, along with some unused code that we never actually removed, led to us keeping items that were of no use to the user, other than at worst to preserve ancient information about them. This commit adds a feature to remove obsolete entries when we load the file. Closes ticket 40137.
Diffstat (limited to 'src/test/test.h')
-rw-r--r--src/test/test.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test.h b/src/test/test.h
index 71066db48e..bd3a4102f5 100644
--- a/src/test/test.h
+++ b/src/test/test.h
@@ -187,6 +187,7 @@ extern struct testcase_t scheduler_tests[];
extern struct testcase_t sendme_tests[];
extern struct testcase_t socks_tests[];
extern struct testcase_t sr_tests[];
+extern struct testcase_t statefile_tests[];
extern struct testcase_t stats_tests[];
extern struct testcase_t status_tests[];
extern struct testcase_t storagedir_tests[];