Explorar o código

Add comment clarifying OpenSSL usage.

svn:r17498
Jacob Appelbaum %!s(int64=16) %!d(string=hai) anos
pai
achega
cf75162a0c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/or/main.c

+ 2 - 0
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);
   }