1. 30 1月, 2017 5 次提交
  2. 24 1月, 2017 1 次提交
  3. 10 1月, 2017 2 次提交
  4. 18 11月, 2016 1 次提交
  5. 16 11月, 2016 1 次提交
    • M
      Add a TLS version consistency check during session resumption · c87386a2
      Matt Caswell 提交于
      This is a temporary fix for while we are still using the old session
      resumption logic in the TLSv1.3 code. Due to differences in EXTMS support
      we can't resume a <=TLSv1.2 session in a TLSv1.3 connection (the EXTMS
      consistency check causes the connection to abort). This causes test
      failures.
      
      Ultimately we will rewrite the session resumption logic for TLSv1.3 so this
      problem will go away. But until then we need a quick fix to keep the tests
      happy.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      c87386a2
  6. 10 11月, 2016 1 次提交
  7. 09 11月, 2016 2 次提交
  8. 04 11月, 2016 1 次提交
  9. 02 11月, 2016 1 次提交
  10. 18 8月, 2016 1 次提交
  11. 17 8月, 2016 2 次提交
  12. 13 8月, 2016 1 次提交
  13. 20 7月, 2016 1 次提交
  14. 19 7月, 2016 1 次提交
  15. 15 6月, 2016 1 次提交
    • K
      Initialize the session_id · 947f3156
      Kurt Roeckx 提交于
      ssl_session_hash() always looks at the first 4 bytes, regardless of the length.
      A client can send a session id that's shorter, and the callback could also
      generate one that's shorter.  So we make sure that the rest of the buffer is
      initliazed to 0 so that we always calculate the same hash.
      
      Found by tis-interpreter, also previously reported as RT #2871
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      
      MR: #2911
      947f3156
  16. 14 6月, 2016 1 次提交
    • M
      Ensure SSL_set_session clears the old session from cache if it is bad · e70656cf
      Matt Caswell 提交于
      SSL_clear() and SSL_free() will remove a session from the cache if it is
      considered "bad". However SSL_set_session() does not do this for the session
      it is replacing.
      
      SSL_clear() clears an SSL object ready for reuse. It does not clear the
      session though. This means that:
      
        SSL_clear(s)
        SSL_set_session(s, sess);
      
      and
        SSL_set_session(s, sess);
        SSL_clear(s);
      
      do not do the same thing, although logically you would expect that they
      would.
      
      The failure of SSL_set_session() to remove bad sessions from the cache
      should be considered a bug, so this commit fixes it.
      
      RT#597
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      e70656cf
  17. 08 6月, 2016 1 次提交
  18. 01 6月, 2016 2 次提交
  19. 20 5月, 2016 1 次提交
    • R
      Rename lh_xxx,sk_xxx tp OPENSSL_{LH,SK}_xxx · 739a1eb1
      Rich Salz 提交于
      Rename sk_xxx to OPENSSL_sk_xxx and _STACK to OPENSSL_STACK
      Rename lh_xxx API to OPENSSL_LH_xxx and LHASH_NODE to OPENSSL_LH_NODE
      Make lhash stuff opaque.
      Use typedefs for function pointers; makes the code simpler.
      Remove CHECKED_xxx macros.
      Add documentation; remove old X509-oriented doc.
      Add API-compat names for entire old API
      Reviewed-by: NDr. Stephen Henson <steve@openssl.org>
      739a1eb1
  20. 18 5月, 2016 1 次提交
  21. 17 5月, 2016 1 次提交
  22. 29 4月, 2016 1 次提交
  23. 14 4月, 2016 1 次提交
  24. 28 3月, 2016 1 次提交
  25. 21 3月, 2016 1 次提交
  26. 09 3月, 2016 1 次提交
  27. 12 2月, 2016 1 次提交
  28. 01 2月, 2016 1 次提交
  29. 27 1月, 2016 1 次提交
    • R
      Remove /* foo.c */ comments · 34980760
      Rich Salz 提交于
      This was done by the following
              find . -name '*.[ch]' | /tmp/pl
      where /tmp/pl is the following three-line script:
              print unless $. == 1 && m@/\* .*\.[ch] \*/@;
              close ARGV if eof; # Close file to reset $.
      
      And then some hand-editing of other files.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      34980760
  30. 19 1月, 2016 1 次提交
  31. 12 1月, 2016 1 次提交
  32. 08 1月, 2016 1 次提交