aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Appelbaum <jacob@appelbaum.net>2008-12-07 01:14:49 +0000
committerJacob Appelbaum <jacob@appelbaum.net>2008-12-07 01:14:49 +0000
commitcf75162a0ca93c3334451910c106129524883461 (patch)
tree6e38549d7e8a0b382e93042125e40f46b6ecf578
parentba985f85767e7631aac90dbbe822d26ee93d8334 (diff)
downloadtor-cf75162a0ca93c3334451910c106129524883461.tar
tor-cf75162a0ca93c3334451910c106129524883461.tar.gz
Add comment clarifying OpenSSL usage.
svn:r17498
-rw-r--r--src/or/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 459d347bb..955ae41dd 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -2063,6 +2063,8 @@ tor_main(int argc, char *argv[])
init_logging();
#ifdef USE_DMALLOC
{
+ /* Instruct OpenSSL to use our internal wrappers for malloc,
+ realloc and free. */
int r = CRYPTO_set_mem_ex_functions(_tor_malloc, _tor_realloc, _tor_free);
tor_assert(r);
}