From 09951bea7fe30cd91d8a4dee95278218f0aa199e Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 29 Sep 2014 12:57:07 -0400 Subject: Don't use the getaddrinfo sandbox cache from tor-resolve Fixes bug 13295; bugfix on 0.2.5.3-alpha. The alternative here is to call crypto_global_init() from tor-resolve, but let's avoid linking openssl into tor-resolve for as long as we can. --- src/common/sandbox.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/sandbox.h') diff --git a/src/common/sandbox.h b/src/common/sandbox.h index 20d5d5080c..35d87772fd 100644 --- a/src/common/sandbox.h +++ b/src/common/sandbox.h @@ -208,5 +208,7 @@ int sandbox_init(sandbox_cfg_t* cfg); /** Return true iff the sandbox is turned on. */ int sandbox_is_active(void); +void sandbox_disable_getaddrinfo_cache(void); + #endif /* SANDBOX_H_ */ -- cgit v1.2.3-54-g00ecf