1. 10 Jul, 2013 1 commit
    • Nick Mathewson's avatar
      Start work on fancy compiler tricks to expose extra stuff to our tests · f7d654b8
      Nick Mathewson authored
      This is mainly a matter of automake trickery: we build each static
      library in two versions now: one with the TOR_UNIT_TESTS macro
      defined, and one without.  When TOR_UNIT_TESTS is defined, we can
      enable mocking and expose more functions. When it's not defined, we
      can lock the binary down more.
      
      The alternatives would be to have alternate build modes: a "testing
      configuration" for building the libraries with test support, and a
      "production configuration" for building them without.  I don't favor
      that approach, since I think it would mean more people runnning
      binaries build for testing, or more people not running unit tests.
      f7d654b8
  2. 08 Jul, 2013 9 commits
  3. 03 Jul, 2013 1 commit
    • Nick Mathewson's avatar
      FIx undefined behavior in dirvote.c · 15cd79f8
      Nick Mathewson authored
       Fix a bug in the voting algorithm that could yield incorrect results
       when a non-naming authority declared too many flags. Fixes bug 9200;
       bugfix on 0.2.0.3-alpha.
      
      Found by coverity scan.
      15cd79f8
  4. 29 Jun, 2013 4 commits
  5. 24 Jun, 2013 3 commits
  6. 18 Jun, 2013 13 commits
  7. 17 Jun, 2013 3 commits
  8. 16 Jun, 2013 1 commit
  9. 15 Jun, 2013 3 commits
  10. 14 Jun, 2013 2 commits