summaryrefslogtreecommitdiff
path: root/src/feature/dirauth/dirauth_options.inc
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-12-19 09:27:35 -0500
committerNick Mathewson <nickm@torproject.org>2019-12-19 09:34:18 -0500
commit99874ecc1de43756bc5ba7f92ef8073e5d5b3c72 (patch)
tree6cf0a3ef340da3f2ae5fc9506dc287d3ec0682b6 /src/feature/dirauth/dirauth_options.inc
parent9386b0b28ad7c276eaaf4546a1764c605850dba3 (diff)
downloadtor-99874ecc1de43756bc5ba7f92ef8073e5d5b3c72.tar.gz
tor-99874ecc1de43756bc5ba7f92ef8073e5d5b3c72.zip
Move AuthDirPinKeys to dirauth module.
Diffstat (limited to 'src/feature/dirauth/dirauth_options.inc')
-rw-r--r--src/feature/dirauth/dirauth_options.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/feature/dirauth/dirauth_options.inc b/src/feature/dirauth/dirauth_options.inc
index af3a22c8fa..dddb538981 100644
--- a/src/feature/dirauth/dirauth_options.inc
+++ b/src/feature/dirauth/dirauth_options.inc
@@ -30,6 +30,9 @@ CONF_VAR(AuthDirListBadExits, BOOL, 0, "0")
/** Do not permit more than this number of servers per IP address. */
CONF_VAR(AuthDirMaxServersPerAddr, POSINT, 0, "2")
+/** Boolean: Do we enforce key-pinning? */
+CONF_VAR(AuthDirPinKeys, BOOL, 0, "1")
+
/** Which versions of tor should we tell users to run? */
CONF_VAR(RecommendedVersions, LINELIST, 0, NULL)