1. 06 Jul, 2021 3 commits
    • George Kadianakis's avatar
    • George Kadianakis's avatar
      Merge branch 'mr/395' into maint-0.4.5 · 98b9df61
      George Kadianakis authored
      98b9df61
    • Nick Mathewson's avatar
      Use native timegm when available. · c1d96358
      Nick Mathewson authored
      Continue having a tor_gmtime_impl() unit test so that we can detect
      any problems in our replacement function; add a new test function to
      make sure that gmtime<->timegm are a round-trip on now-ish times.
      
      This is a fix for bug #40383, wherein we ran into trouble because
      tor_timegm() does not believe that time_t should include a count of
      leap seconds, but FreeBSD's gmtime believes that it should.  This
      disagreement meant that for a certain amount of time each day,
      instead of calculating the most recent midnight, our voting-schedule
      functions would calculate the second-most-recent midnight, and lead
      to an assertion failure.
      
      I am calling this a bugfix on 0.2.0.3-alpha when we first started
      calculating our voting schedule in this way.
      c1d96358
  2. 01 Jul, 2021 1 commit
    • Nick Mathewson's avatar
      Suppress a clang 12 warning about "suspicious concatenation". · 2bc02b21
      Nick Mathewson authored
      My clang doesn't like it when we write code like this:
      
          char *list[] = {
             "abc",
             "def",
             "ghi"
             "jkl"
          }
      
      It wonders whether we meant to put a comma between "ghi" and "jkl"
      or not, and gives a warning.
      
      To suppress this warning (since in this case, we did mean to omit
      the comma), we just wrap the two strings in parentheses.
      
      Closes #40426; bugfix on 0.4.0.4-rc.
      2bc02b21
  3. 30 Jun, 2021 1 commit
  4. 28 Jun, 2021 1 commit
  5. 25 Jun, 2021 1 commit
  6. 14 Jun, 2021 4 commits
  7. 10 Jun, 2021 18 commits
  8. 07 Jun, 2021 5 commits
  9. 28 May, 2021 1 commit
  10. 25 May, 2021 3 commits
  11. 18 May, 2021 1 commit
  12. 17 May, 2021 1 commit