aboutsummaryrefslogtreecommitdiff
path: root/src/app/config/config.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-11-19 11:59:21 -0500
committerNick Mathewson <nickm@torproject.org>2019-11-20 09:26:47 -0500
commita30d143228b4211fd24093c244117e07e9409de5 (patch)
treeaba52010abb5f017930dcd99c33df1a4e32f2aae /src/app/config/config.h
parent3094651fa3c71429e8efb0e23087a78addd6728f (diff)
downloadtor-a30d143228b4211fd24093c244117e07e9409de5.tar.gz
tor-a30d143228b4211fd24093c244117e07e9409de5.zip
Make KeyDirectory's GroupReadable behave the same as CacheDirectory's.
In #26913 we solved a bug where CacheDirectoryGroupReadable would override DataDirectoryGroupReadable when the two directories are the same. We never did the same for KeyDirectory, though, because that's a rare setting. Now that I'm testing this code, though, fixing this issue seems fine. Fixes bug #27992; bugfix on 0.3.3.1-alpha.
Diffstat (limited to 'src/app/config/config.h')
-rw-r--r--src/app/config/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/config/config.h b/src/app/config/config.h
index 0af96a0c26..c6c03329bb 100644
--- a/src/app/config/config.h
+++ b/src/app/config/config.h
@@ -303,6 +303,8 @@ STATIC int open_and_add_file_log(const log_severity_list_t *severity,
STATIC int options_init_logs(const or_options_t *old_options,
const or_options_t *options, int validate_only);
+STATIC int options_create_directories(char **msg_out);
+
#ifdef TOR_UNIT_TESTS
int options_validate(const or_options_t *old_options,
or_options_t *options,