1. 10 Nov, 2018 1 commit
  2. 09 Nov, 2018 5 commits
  3. 08 Nov, 2018 5 commits
  4. 07 Nov, 2018 4 commits
  5. 05 Nov, 2018 8 commits
  6. 04 Nov, 2018 2 commits
    • Benjamin Kaduk's avatar
      Restore sensible "sess_accept" counter tracking · 33a37a61
      Benjamin Kaduk authored
      Commit 9ef9088c
      
       switched the SSL/SSL_CTX
      statistics counters to using Thread-Sanitizer-friendly primitives.
      However, it erroneously converted an addition of -1
      (for s->session_ctx->stats.sess_accept) to an addition of +1, since that
      is the only counter API provided by the internal tsan_assist.h header
      until the previous commit.  This means that for each accepted (initial)
      connection, the session_ctx's counter would get doubly incremented, and the
      (switched) ctx's counter would also get incremented.
      
      Restore the counter decrement so that each accepted connection increments
      exactly one counter exactly once (in net effect).
      
      Reviewed-by: default avatarPaul Dale <paul.dale@oracle.com>
      (Merged from https://github.com/openssl/openssl/pull/7464)
      
      (cherry picked from commit 2aaa0b14)
      33a37a61
    • Benjamin Kaduk's avatar
      Add tsan_decr() API, counterpart of tsan_counter() · a649b52f
      Benjamin Kaduk authored
      
      
      The existing tsan_counter() API increments a reference counter.
      Provide a new API, tsan_decr(), to decrement such a reference counter.
      This can be used, for example, when a reference is added to the session_ctx's
      sess_accept stats but should more properly be tracked in the regular ctx's
      statistics.
      
      Reviewed-by: default avatarPaul Dale <paul.dale@oracle.com>
      (Merged from https://github.com/openssl/openssl/pull/7464)
      
      (cherry picked from commit 95658c32436017aeeef3d8598957071baf6769a9)
      a649b52f
  7. 02 Nov, 2018 5 commits
  8. 01 Nov, 2018 1 commit
  9. 31 Oct, 2018 3 commits
  10. 30 Oct, 2018 5 commits
  11. 29 Oct, 2018 1 commit
    • Richard Levitte's avatar
      test/evp_test.c: don't misuse pkey_test_ctrl() in mac_test_run() · d308458e
      Richard Levitte authored
      
      
      pkey_test_ctrl() was designed for parsing values, not for using in
      test runs.  Relying on its returned value when it returned 1 even for
      control errors made it particularly useless for mac_test_run().
      
      Here, it gets replaced with a MAC specific control function, that
      parses values the same way but is designed for use in a _run() rather
      than a _parse() function.
      
      This uncovers a SipHash test with an invalid control that wasn't
      caught properly.  After all, that stanza is supposed to test that
      invalid control values do generate an error.  Now we catch that.
      
      Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/7500)
      
      (cherry picked from commit ce5d64c7)
      d308458e