1. 28 Jul, 2019 1 commit
  2. 25 Jul, 2019 2 commits
    • David Benjamin's avatar
      Don't generate an unnecessary Diffie-Hellman key in TLS 1.3 clients. · e4a282fe
      David Benjamin authored
      
      
      tls_parse_stoc_key_share was generating a new EVP_PKEY public/private
      keypair and then overrides it with the server public key, so the
      generation was a waste anyway. Instead, it should create a
      parameters-only EVP_PKEY.
      
      (This is a consequence of OpenSSL using the same type for empty key,
      empty key with key type, empty key with key type + parameters, public
      key, and private key. As a result, it's easy to mistakenly mix such
      things up, as happened here.)
      
      Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
      Reviewed-by: default avatarKurt Roeckx <kurt@roeckx.be>
      (Merged from https://github.com/openssl/openssl/pull/9445)
      
      (cherry picked from commit 166c0b98fd6e8b1bb341397642527a9396468f6c)
      e4a282fe
    • Richard Levitte's avatar
      Fix default installation paths on mingw · 54aa9d51
      Richard Levitte authored
      
      
      Mingw config targets assumed that resulting programs and libraries are
      installed in a Unix-like environment and the default installation
      prefix was therefore set to '/usr/local'.
      
      However, mingw programs are installed in a Windows environment, and
      the installation directories should therefore have Windows defaults,
      i.e. the same kind of defaults as the VC config targets.
      
      A difficulty is, however, that a "cross compiled" build can't figure
      out the system defaults from environment the same way it's done when
      building "natively", so we have to fall back to hard coded defaults in
      that case.
      
      Tests can still be performed when cross compiled on a non-Windows
      platform, since all tests only depend on the source and build
      directory, and otherwise relies on normal local paths.
      
      CVE-2019-1552
      
      Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/9400)
      54aa9d51
  3. 23 Jul, 2019 2 commits
  4. 24 Jul, 2019 5 commits
  5. 23 Jul, 2019 1 commit
  6. 21 Jul, 2019 1 commit
  7. 19 Jul, 2019 1 commit
  8. 18 Jul, 2019 2 commits
  9. 17 Jul, 2019 3 commits
  10. 16 Jul, 2019 3 commits
  11. 15 Jul, 2019 1 commit
  12. 11 Jul, 2019 1 commit
  13. 08 Jul, 2019 3 commits
  14. 07 Jul, 2019 2 commits
  15. 04 Jul, 2019 1 commit
  16. 02 Jul, 2019 5 commits
  17. 01 Jul, 2019 1 commit
  18. 30 Jun, 2019 1 commit
  19. 27 Jun, 2019 2 commits
  20. 24 Jun, 2019 1 commit
  21. 26 Jun, 2019 1 commit
    • 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