1. 15 Aug, 2012 1 commit
  2. 03 Aug, 2012 1 commit
  3. 27 Jul, 2012 1 commit
  4. 24 Jul, 2012 2 commits
  5. 23 Jul, 2012 1 commit
    • Dr. Stephen Henson's avatar
      Add support for certificate stores in CERT structure. This makes it · 74ecfab4
      Dr. Stephen Henson authored
      possible to have different stores per SSL structure or one store in
      the parent SSL_CTX. Include distint stores for certificate chain
      verification and chain building. New ctrl SSL_CTRL_BUILD_CERT_CHAIN
      to build and store a certificate chain in CERT structure: returing
      an error if the chain cannot be built: this will allow applications
      to test if a chain is correctly configured.
      
      Note: if the CERT based stores are not set then the parent SSL_CTX
      store is used to retain compatibility with existing behaviour.
      74ecfab4
  6. 18 Jul, 2012 1 commit
  7. 08 Jul, 2012 1 commit
    • Dr. Stephen Henson's avatar
      Add new ctrl to retrieve client certificate types, print out · 9f27b1ee
      Dr. Stephen Henson authored
      details in s_client.
      
      Also add ctrl to set client certificate types. If not used sensible values
      will be included based on supported signature algorithms: for example if
      we don't include any DSA signing algorithms the DSA certificate type is
      omitted.
      
      Fix restriction in old code where certificate types would be truncated
      if it exceeded TLS_CT_NUMBER.
      9f27b1ee
  8. 03 Jul, 2012 1 commit
  9. 29 Jun, 2012 1 commit
    • Dr. Stephen Henson's avatar
      Add certificate callback. If set this is called whenever a certificate · 18d71588
      Dr. Stephen Henson authored
      is required by client or server. An application can decide which
      certificate chain to present based on arbitrary criteria: for example
      supported signature algorithms. Add very simple example to s_server.
      This fixes many of the problems and restrictions of the existing client
      certificate callback: for example you can now clear existing certificates
      and specify the whole chain.
      18d71588
  10. 28 Jun, 2012 1 commit
    • Dr. Stephen Henson's avatar
      Add new "valid_flags" field to CERT_PKEY structure which determines what · d61ff83b
      Dr. Stephen Henson authored
      the certificate can be used for (if anything). Set valid_flags field
      in new tls1_check_chain function. Simplify ssl_set_cert_masks which used
      to have similar checks in it.
      
      Add new "cert_flags" field to CERT structure and include a "strict mode".
      This enforces some TLS certificate requirements (such as only permitting
      certificate signature algorithms contained in the supported algorithms
      extension) which some implementations ignore: this option should be used
      with caution as it could cause interoperability issues.
      d61ff83b
  11. 25 Jun, 2012 1 commit
  12. 22 Jun, 2012 1 commit
  13. 18 Jun, 2012 1 commit
  14. 15 Jun, 2012 1 commit
  15. 13 Jun, 2012 1 commit
  16. 12 Jun, 2012 1 commit
  17. 30 May, 2012 1 commit
  18. 11 May, 2012 2 commits
    • Dr. Stephen Henson's avatar
      PR: 2813 · 4242a090
      Dr. Stephen Henson authored
      Reported by: Constantine Sapuntzakis <csapuntz@gmail.com>
      
      Fix possible deadlock when decoding public keys.
      4242a090
    • Dr. Stephen Henson's avatar
      PR: 2811 · c3b13033
      Dr. Stephen Henson authored
      Reported by: Phil Pennock <openssl-dev@spodhuis.org>
      
      Make renegotiation work for TLS 1.2, 1.1 by not using a lower record
      version client hello workaround if renegotiating.
      c3b13033
  19. 10 May, 2012 2 commits
  20. 26 Apr, 2012 3 commits
  21. 25 Apr, 2012 2 commits
  22. 19 Apr, 2012 1 commit
  23. 17 Apr, 2012 2 commits
  24. 05 Apr, 2012 1 commit
  25. 31 Mar, 2012 1 commit
  26. 28 Mar, 2012 1 commit
    • Dr. Stephen Henson's avatar
      Initial revision of ECC extension handling. · d0595f17
      Dr. Stephen Henson authored
      Tidy some code up.
      
      Don't allocate a structure to handle ECC extensions when it is used for
      default values.
      
      Make supported curves configurable.
      
      Add ctrls to retrieve shared curves: not fully integrated with rest of
      ECC code yet.
      d0595f17
  27. 06 Mar, 2012 1 commit
  28. 21 Feb, 2012 1 commit
  29. 16 Feb, 2012 1 commit
  30. 15 Feb, 2012 2 commits
    • Dr. Stephen Henson's avatar
      Additional compatibility fix for MDC2 signature format. · 58631637
      Dr. Stephen Henson authored
      Update RSA EVP_PKEY_METHOD to use the OCTET STRING form of MDC2 signature:
      this will make all versions of MDC2 signature equivalent.
      58631637
    • Dr. Stephen Henson's avatar
      An incompatibility has always existed between the format used for RSA · 83cb7c46
      Dr. Stephen Henson authored
      signatures and MDC2 using EVP or RSA_sign. This has become more apparent
      when the dgst utility in OpenSSL 1.0.0 and later switched to using the
      EVP_DigestSign functions which call RSA_sign.
      
      This means that the signature format OpenSSL 1.0.0 and later used with
      dgst -sign and MDC2 is incompatible with previous versions.
      
      Add detection in RSA_verify so either format works.
      
      Note: MDC2 is disabled by default in OpenSSL and very rarely used in practice.
      83cb7c46
  31. 09 Feb, 2012 1 commit
  32. 31 Jan, 2012 1 commit