From cf75162a0ca93c3334451910c106129524883461 Mon Sep 17 00:00:00 2001 From: Jacob Appelbaum Date: Sun, 7 Dec 2008 01:14:49 +0000 Subject: Add comment clarifying OpenSSL usage. svn:r17498 --- src/or/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/or/main.c b/src/or/main.c index 459d347bbd..955ae41dd9 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); } -- cgit v1.2.3-54-g00ecf