Skip to content
  1. Mar 12, 1999
  2. Mar 11, 1999
  3. Mar 10, 1999
  4. Mar 09, 1999
  5. Mar 08, 1999
  6. Mar 07, 1999
  7. Mar 06, 1999
  8. Mar 05, 1999
  9. Mar 04, 1999
  10. Mar 03, 1999
  11. Feb 28, 1999
  12. Feb 27, 1999
  13. Feb 26, 1999
  14. Feb 25, 1999
    • Ralf S. Engelschall's avatar
      Add a bunch of SSL_xxx() functions for configuring the temporary RSA and DH · 15d21c2d
      Ralf S. Engelschall authored
      private keys and/or callback functions which directly correspond to their
      SSL_CTX_xxx() counterparts but work on a per-connection basis. This is needed
      for applications which have to configure certificates on a per-connection
      basis (e.g. Apache+mod_ssl) instead of a per-context basis (e.g.
      s_server).
      
      For the RSA certificate situation is makes no difference, but for the DSA
      certificate situation this fixes the "no shared cipher" problem where the
      OpenSSL cipher selection procedure failed because the temporary keys were not
      overtaken from the context and the API provided no way to reconfigure them.
      
      The new functions now let applications reconfigure the stuff and they are in
      detail: SSL_need_tmp_RSA, SSL_set_tmp_rsa, SSL_set_tmp_dh,
      SSL_set_tmp_rsa_callback and SSL_set_tmp_dh_callback.  Additionally a new
      non-public-API function ssl_cert_instantiate() is used as a helper function
      and also to reduce code redundancy inside ssl_rsa.c.
      
      Submitted by: Ralf S. Engelschall
      Reviewed by: Ben Laurie
      15d21c2d