1. 08 Nov, 2012 1 commit
    • Nick Mathewson's avatar
      Add and use and unlikely-to-be-eliminated memwipe() · 49dd5ef3
      Nick Mathewson authored
      Apparently some compilers like to eliminate memset() operations on
      data that's about to go out-of-scope.  I've gone with the safest
      possible replacement, which might be a bit slow.  I don't think this
      is critical path in any way that will affect performance, but if it
      is, we can work on that in 0.2.4.
      
      Fixes bug 7352.
      49dd5ef3
  2. 17 Jul, 2012 1 commit
  3. 15 Jun, 2012 2 commits
  4. 05 Jun, 2012 1 commit
  5. 20 Apr, 2012 1 commit
  6. 19 Apr, 2012 1 commit
  7. 18 Jan, 2012 1 commit
    • Nick Mathewson's avatar
      Rename nonconformant identifiers. · 26e789fb
      Nick Mathewson authored
      Fixes bug 4893.
      
      These changes are pure mechanical, and were generated with this
      perl script:
      
        /usr/bin/perl -w -i.bak -p
      
        s/crypto_pk_env_t/crypto_pk_t/g;
        s/crypto_dh_env_t/crypto_dh_t/g;
        s/crypto_cipher_env_t/crypto_cipher_t/g;
        s/crypto_digest_env_t/crypto_digest_t/g;
      
        s/aes_free_cipher/aes_cipher_free/g;
        s/crypto_free_cipher_env/crypto_cipher_free/g;
        s/crypto_free_digest_env/crypto_digest_free/g;
        s/crypto_free_pk_env/crypto_pk_free/g;
      
        s/_crypto_dh_env_get_dh/_crypto_dh_get_dh/g;
        s/_crypto_new_pk_env_rsa/_crypto_new_pk_from_rsa/g;
        s/_crypto_pk_env_get_evp_pkey/_crypto_pk_get_evp_pkey/g;
        s/_crypto_pk_env_get_rsa/_crypto_pk_get_rsa/g;
      
        s/crypto_new_cipher_env/crypto_cipher_new/g;
        s/crypto_new_digest_env/crypto_digest_new/g;
        s/crypto_new_digest256_env/crypto_digest256_new/g;
        s/crypto_new_pk_env/crypto_pk_new/g;
      
        s/crypto_create_crypto_env/crypto_cipher_new/g;
      
        s/connection_create_listener/connection_listener_new/g;
        s/smartlist_create/smartlist_new/g;
        s/transport_create/transport_new/g;
      26e789fb
  8. 11 Jan, 2012 2 commits
  9. 09 Jan, 2012 1 commit
  10. 07 Jan, 2012 2 commits
  11. 27 Dec, 2011 1 commit
  12. 20 Dec, 2011 3 commits
  13. 01 Dec, 2011 1 commit
  14. 30 Nov, 2011 3 commits
    • Robert Ransom's avatar
      Add ifdefs to disable #3332 assertions · a364f884
      Robert Ransom authored and Nick Mathewson's avatar Nick Mathewson committed
      a364f884
    • Nick Mathewson's avatar
      appease "make check-spaces" · c5e2bfa9
      Nick Mathewson authored
      c5e2bfa9
    • Linus Nordberg's avatar
      First chunk of support for bridges on IPv6 · f786307a
      Linus Nordberg authored and Nick Mathewson's avatar Nick Mathewson committed
      Comments below focus on changes, see diff for added code.
      
      New type tor_addr_port_t holding an IP address and a TCP/UDP port.
      
      New flag in routerinfo_t, ipv6_preferred.  This should go in the
      node_t instead but not now.
      
      Replace node_get_addr() with
      - node_get_prim_addr() for primary address, i.e. IPv4 for now
      - node_get_pref_addr() for preferred address, IPv4 or IPv6.
      
      Rename node_get_addr_ipv4h() node_get_prim_addr_ipv4h() for
      consistency.  The primary address will not allways be an IPv4 address.
      Same for node_get_orport() -> node_get_prim_orport().
      
      Rewrite node_is_a_configured_bridge() to take all OR ports into account.
      
      Extend argument list to extend_info_from_node and
      extend_info_from_router with a flag indicating if we want to use the
      routers primary address or the preferred address.  Use the preferred
      address in as few situtations as possible for allowing clients to
      connect to bridges over IPv6.
      f786307a
  15. 27 Nov, 2011 2 commits
  16. 24 Nov, 2011 1 commit
  17. 17 Nov, 2011 1 commit
  18. 08 Nov, 2011 1 commit
  19. 31 Oct, 2011 1 commit
  20. 30 Oct, 2011 13 commits