[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r17498: {tor} Add comment clarifying OpenSSL usage. (tor/trunk/src/or)



Author: ioerror
Date: 2008-12-06 20:14:49 -0500 (Sat, 06 Dec 2008)
New Revision: 17498

Modified:
   tor/trunk/src/or/main.c
Log:
Add comment clarifying OpenSSL usage.


Modified: tor/trunk/src/or/main.c
===================================================================
--- tor/trunk/src/or/main.c	2008-12-07 00:30:14 UTC (rev 17497)
+++ tor/trunk/src/or/main.c	2008-12-07 01:14:49 UTC (rev 17498)
@@ -2063,6 +2063,8 @@
   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);
   }