summaryrefslogtreecommitdiff
path: root/src/or/config.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-08-15 08:30:44 -0400
committerNick Mathewson <nickm@torproject.org>2014-08-15 08:30:44 -0400
commit0808ed83f9cf312abe229d0956f0b0132a79962d (patch)
tree215177990944cdf14d0f72fdc1566d8287299fa0 /src/or/config.h
parentd443658fade3b4090d0b93903b4aec857cab03ea (diff)
downloadtor-0808ed83f9cf312abe229d0956f0b0132a79962d.tar.gz
tor-0808ed83f9cf312abe229d0956f0b0132a79962d.zip
Restore functionality for CookieAuthFileGroupReadable.
When we merged the cookieauthfile creation logic in 33c3e60a37, we accidentally took out this feature. Fixes bug 12864, bugfix on 0.2.5.1-alpha. Also adds an ExtORPortCookieAuthFileGroupReadable, since there's no reason not to.
Diffstat (limited to 'src/or/config.h')
-rw-r--r--src/or/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.h b/src/or/config.h
index bf386134b8..8a1919c2ed 100644
--- a/src/or/config.h
+++ b/src/or/config.h
@@ -97,7 +97,7 @@ uint32_t get_effective_bwburst(const or_options_t *options);
char *get_transport_bindaddr_from_config(const char *transport);
int init_cookie_authentication(const char *fname, const char *header,
- int cookie_len,
+ int cookie_len, int group_readable,
uint8_t **cookie_out, int *cookie_is_set_out);
or_options_t *options_new(void);