1. 15 3月, 2018 2 次提交
  2. 10 3月, 2018 1 次提交
    • T
      Add SSL/SSL_CTX_use_cert_and_key() · 37933acb
      Todd Short 提交于
      Add functions that will do the work of assigning certificate, privatekey
      and chain certs to an SSL or SSL_CTX. If no privatekey is given, use the
      publickey. This will permit the keys to pass validation for both ECDSA
      and RSA. If a private key has already been set for the certificate, it
      is discarded. A real private key can be set later.
      
      This is an all-or-nothing setting of these parameters. Unlike the
      SSL/SSL_CTX_use_certificate() and SSL/SSL_CTX_use_PrivateKey() functions,
      the existing cert or privatekey is not modified (i.e. parameters copied).
      This permits the existing cert/privatekey to be replaced.
      
      It replaces the sequence of:
      * SSL_use_certificate()
      * SSL_use_privatekey()
      * SSL_set1_chain()
      And may actually be faster, as multiple checks are consolidated.
      
      The private key can be NULL, if so an ENGINE module needs to contain the
      actual private key that is to be used.
      
      Note that ECDH (using the certificate's ECDSA key) ciphers do not work
      without the private key being present, based on how the private key is
      used in ECDH. ECDH does not offer PFS; ECDHE ciphers should be used instead.
      Reviewed-by: NTim Hudson <tjh@openssl.org>
      Reviewed-by: NBen Kaduk <kaduk@mit.edu>
      (Merged from https://github.com/openssl/openssl/pull/1130)
      37933acb
  3. 04 3月, 2018 1 次提交
  4. 02 3月, 2018 1 次提交
  5. 23 2月, 2018 2 次提交
  6. 13 2月, 2018 1 次提交
  7. 02 2月, 2018 1 次提交
  8. 09 1月, 2018 1 次提交
  9. 04 1月, 2018 1 次提交
  10. 26 12月, 2017 1 次提交
  11. 13 12月, 2017 1 次提交
  12. 12 12月, 2017 1 次提交
  13. 08 8月, 2017 1 次提交
  14. 01 8月, 2017 1 次提交
  15. 28 7月, 2017 2 次提交
  16. 03 7月, 2017 1 次提交
  17. 29 6月, 2017 1 次提交
  18. 22 6月, 2017 1 次提交
  19. 21 6月, 2017 1 次提交
  20. 12 6月, 2017 1 次提交
  21. 06 6月, 2017 1 次提交
  22. 31 5月, 2017 1 次提交
  23. 08 4月, 2017 2 次提交
  24. 29 3月, 2017 1 次提交
  25. 28 3月, 2017 1 次提交
  26. 11 3月, 2017 1 次提交
  27. 17 2月, 2017 2 次提交
  28. 13 11月, 2016 1 次提交
  29. 11 11月, 2016 1 次提交
  30. 04 11月, 2016 1 次提交
  31. 02 11月, 2016 1 次提交
  32. 28 10月, 2016 1 次提交
  33. 27 10月, 2016 1 次提交