Skip to content
Snippets Groups Projects
  1. Nov 12, 2010
  2. Nov 11, 2010
  3. Sep 30, 2010
  4. Jul 10, 2010
    • Nick Mathewson's avatar
      Rename log.h to torlog.h · 14bc4dcc
      Nick Mathewson authored
      This should make us conflict less with system files named "log.h".
      Yes, we shouldn't have been conflicting with those anyway, but some
      people's compilers act very oddly.
      
      The actual change was done with one "git mv", by editing
      Makefile.am, and running
         find . -name '*.[ch]' | xargs perl -i -pe 'if (/^#include.*\Wlog.h/) {s/log.h/torlog.h/; }'
      14bc4dcc
  5. May 21, 2010
  6. Apr 14, 2010
    • Sebastian Hahn's avatar
      Add --enable-static-zlib option · 71fb687d
      Sebastian Hahn authored
      Works like the --enable-static-openssl/libevent options. Requires
      --with-zlib-dir to be set. Note that other dependencies might still
      pull in a dynamicly linked zlib, if you don't link them in statically
      too.
      71fb687d
  7. Feb 27, 2010
  8. Feb 22, 2010
  9. Jan 24, 2010
  10. Jan 19, 2010
    • mfwitten's avatar
      Build Bug: -lm should come after passing ../common/libor.a to linker · a5e83769
      mfwitten authored and Nick Mathewson's avatar Nick Mathewson committed
      
      The following commit:
      
          commit e56747f9
          Author: Nick Mathewson <nickm@torproject.org>
          Date:   Tue Dec 15 14:32:55 2009 -0500
      
              Refactor a bit so that it is safe to include math.h, and mostly not needed.
      
      introduced this line:
      
          tor_resolve_LDADD = -lm ../common/libor.a @TOR_LIB_WS32@
      
      which caused the build to fail, because only ../common/libor.a
      (via the embedded ../common/util.o via ../common/util.c)
      referenced libm's `lround' and `log' symbols, so that the
      linker (GNU ld) didn't bother to import those symbols before
      reading ../common/libor.a, thus leaving those symbols undefined.
      
      The solution was to swap the order, producing the line:
      
          tor_resolve_LDADD = ../common/libor.a -lm @TOR_LIB_WS32@
      
      Signed-off-by: default avatarMichael Witten <mfwitten@gmail.com>
      a5e83769
  11. Dec 15, 2009
  12. Sep 29, 2009
    • Nick Mathewson's avatar
      Make tor-gencert build on Android · d4717957
      Nick Mathewson authored
      Previously, tor-gencert would call RSA_generate_key() directly.
      This won't work on Android, which removes the (deprecated since
      OpenSSL 0.9.8) function.  We can't call RSA_generate_key_ex()
      unconditionally either, since that didn't exist before 0.9.8.
      Instead, we must call our own crypto_pk_generate_key_with_bits,
      which knows how to call RSA_generate_key or RSA_generate_key_ex as
      appropriate.
      
       [Based on patch by Nathan Freitas]
      d4717957
    • Nathan Freitas's avatar
      Include util.h and log.h as relative paths. · 8c585cce
      Nathan Freitas authored and Nick Mathewson's avatar Nick Mathewson committed
      This shouldn't be necessary, but apparently the Android cross-compiler
      doesn't respect -I as well as it should.  (-I is supposed to add to the
      *front* of the search path.  Android's gcc wrapper apparently likes to add to
      the end.  This is broken, but we need to work around it.)
      8c585cce
  13. Sep 01, 2009
  14. Jun 18, 2009
    • Nick Mathewson's avatar
      tor-resolve: Don't automatically refuse .onion addresses. · 298dc95d
      Nick Mathewson authored
      If the Tor is running with AutomapHostsOnResolve set, it _is_
      reasonable to do a DNS lookup on a .onion address.  So instead we make
      tor-resolve willing to try to resolve anything.  Only if Tor refuses
      to resolve it do we suggest to the user that resolving a .onion
      address may not work.
      
      Fix for bug 1005.
      298dc95d
  15. Jun 12, 2009
    • Nick Mathewson's avatar
      Update Tor to use Libevent 2.0 APIs when available. · e5b88dc8
      Nick Mathewson authored
      This patch adds a new compat_libevent.[ch] set of files, and moves our
      Libevent compatibility and utilitity functions there.  We build them
      into a separate .a so that nothing else in src/commmon depends on
      Libevent (partially fixing bug 507).
      
      Also, do not use our own built-in evdns copy when we have Libevent
      2.0, whose evdns is finally good enough (thus fixing Bug 920).
      e5b88dc8
  16. May 23, 2009
  17. May 04, 2009
  18. May 02, 2009
  19. Mar 10, 2009
  20. Feb 10, 2009
  21. Jan 04, 2009
  22. Dec 12, 2008
  23. Dec 02, 2008
  24. Sep 29, 2008
  25. Sep 05, 2008
  26. Aug 26, 2008
  27. Aug 25, 2008
  28. Jul 25, 2008
  29. May 09, 2008
  30. Mar 21, 2008
Loading