1. 11 Jun, 2016 1 commit
  2. 11 May, 2016 1 commit
  3. 22 Mar, 2016 1 commit
  4. 11 Mar, 2016 3 commits
    • Roger Dingledine's avatar
      simplify rend_cache_store_status_t back to a boolean · edeba3d4
      Roger Dingledine authored
      it used to be a tri-state, but now it's just a bi-state, so we can
      take out all the machinery like the enum.
      edeba3d4
    • Roger Dingledine's avatar
      rip out hid_serv_acting_as_directory() · 53902963
      Roger Dingledine authored
      When we made HidServDirectoryV2 always 1, we removed the situation
      where a relay could choose not to be an HSDir. Now simplify the
      rest of the code to reflect this decision.
      
      (We have to remove two apparently unrelated free() calls in the unit
      tests, since they used to free stuff that we created as a side effect
      of calling router_get_my_routerinfo(), and now we no longer call that.)
      53902963
    • Roger Dingledine's avatar
      rip out hid_serv_responsible_for_desc_id() · e167910f
      Roger Dingledine authored
      This simplifies relay behavior, because the relay offers the hsdir
      functionality independent of whether the directory authorities have
      decided this relay is suitable for clients to use yet.
      
      Implements ticket 18332.
      e167910f
  5. 27 Feb, 2016 1 commit
  6. 22 Feb, 2016 1 commit
  7. 10 Feb, 2016 1 commit
    • Nick Mathewson's avatar
      Rename crypto_digest_all, and digests_t. · 8a4bba06
      Nick Mathewson authored
      They are no longer "all" digests, but only the "common" digests.
      
      Part of 17795.
      
      This is an automated patch I made with a couple of perl one-liners:
      
        perl -i -pe 's/crypto_digest_all/crypto_common_digests/g;' src/*/*.[ch]
        perl -i -pe 's/\bdigests_t\b/common_digests_t/g;' src/*/*.[ch]
      8a4bba06
  8. 14 Dec, 2015 1 commit
    • teor (Tim Wilson-Brown)'s avatar
      Authorities on IPv6: minor fixes and unit tests · 1c2366ea
      teor (Tim Wilson-Brown) authored
      Update the code for IPv6 authorities and fallbacks for function
      argument changes.
      
      Update unit tests affected by the function argument changes in
      the patch.
      
      Add unit tests for authority and fallback:
       * adding via a function
       * line parsing
       * adding default authorities
      (Adding default fallbacks is unit tested in #15775.)
      1c2366ea
  9. 09 Dec, 2015 1 commit
    • cypherpunks's avatar
      Fix buffer over-reads in the directory tests · 3d0d2a51
      cypherpunks authored and Nick Mathewson's avatar Nick Mathewson committed
      The tests pass empty digest strings to the dir_server_new function which
      copies it into a directory server structure. The copy operation expects
      the digest strings to be DIGEST_LEN characters long.
      
      Because the length of the empty digest strings are lower than
      DIGEST_LEN, the copy operation reads outside the digest strings which
      leads to buffer over-reads.
      
      The issue is resolved by using character arrays with a size of
      DIGEST_LEN.
      
      Patch on 4ff08bb5.
      3d0d2a51
  10. 21 Oct, 2015 3 commits
  11. 02 Oct, 2015 2 commits
  12. 15 Sep, 2015 1 commit