1. 18 Jul, 2019 2 commits
  2. 17 Jul, 2019 3 commits
  3. 16 Jul, 2019 3 commits
  4. 15 Jul, 2019 1 commit
  5. 11 Jul, 2019 1 commit
  6. 08 Jul, 2019 3 commits
  7. 07 Jul, 2019 2 commits
  8. 04 Jul, 2019 1 commit
  9. 02 Jul, 2019 5 commits
  10. 01 Jul, 2019 1 commit
  11. 30 Jun, 2019 1 commit
  12. 27 Jun, 2019 2 commits
  13. 24 Jun, 2019 1 commit
  14. 26 Jun, 2019 3 commits
    • Benjamin Kaduk's avatar
      Move 'shared_sigalgs' from cert_st to ssl_st · 915430a0
      Benjamin Kaduk authored
      
      
      It was only ever in cert_st because ssl_st was a public structure
      and could not be modified without breaking the API.  However, both
      structures are now opaque, and thus we can freely change their layout
      without breaking applications.  In this case, keeping the shared
      sigalgs in the SSL object prevents complications wherein they would
      inadvertently get cleared during SSL_set_SSL_CTX() (e.g., as run
      during a cert_cb).
      
      Fixes #9099
      
      Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/9157)
      
      (cherry picked from commit 29948ac80c1388cfeb0bd64539ac1fa6e0bb8990)
      915430a0
    • Benjamin Kaduk's avatar
      Revert "Delay setting the sig algs until after the cert_cb has been called" · 572492aa
      Benjamin Kaduk authored
      
      
      This reverts commit 524006dd1b80c1a86a20119ad988666a80d8d8f5.
      
      While this change did prevent the sigalgs from getting inadvertently
      clobbered by SSL_set_SSL_CTX(), it also caused the sigalgs to not be
      set when the cert_cb runs.  This, in turn, caused significant breakage,
      such as SSL_check_chain() failing to find any valid chain.  An alternate
      approach to fixing the issue from #7244 will follow.
      
      Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/9157)
      
      (cherry picked from commit 6f34d7bc7d0c7fcd86c6f2772f26e42c925d8505)
      572492aa
    • Benjamin Kaduk's avatar
      Add regression test for #9099 · 9863b419
      Benjamin Kaduk authored
      
      
      Augment the cert_cb sslapitest to include a run that uses
      SSL_check_chain() to inspect the certificate prior to installing
      it on the SSL object.  If the check shows the certificate as not
      valid in that context, we do not install a certificate at all, so
      the handshake will fail later on in processing (tls_choose_sigalg()),
      exposing the indicated regression.
      
      Currently it fails, since we have not yet set the shared sigalgs
      by the time the cert_cb runs.
      
      Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/9157)
      
      (cherry picked from commit 7cb8fb07e8b71dc1fdcb0de10af7fed4347f6ea4)
      9863b419
  15. 24 Jun, 2019 2 commits
  16. 21 Jun, 2019 1 commit
  17. 19 Jun, 2019 4 commits
  18. 18 Jun, 2019 4 commits