]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add comment clarifying OpenSSL usage.
authorJacob Appelbaum <jacob@appelbaum.net>
Sun, 7 Dec 2008 01:14:49 +0000 (01:14 +0000)
committerJacob Appelbaum <jacob@appelbaum.net>
Sun, 7 Dec 2008 01:14:49 +0000 (01:14 +0000)
svn:r17498

src/or/main.c

index 459d347bbd3eab9c2bcd1dca6ec4c1b92b8ddd22..955ae41dd9b163687d8a3e4043d5d39b304b4ec3 100644 (file)
@@ -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);
   }