openssl/ssl
Ralf S. Engelschall 15d21c2df4 Add a bunch of SSL_xxx() functions for configuring the temporary RSA and DH
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
1999-02-25 14:40:29 +00:00
..
.cvsignore Various cleanups and fixed by Marc and Ralf to start the OpenTLS project 1998-12-22 15:04:48 +00:00
bio_ssl.c Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
Makefile.ssl Break circular dependency between pem and err. 1999-01-30 13:40:34 +00:00
s2_clnt.c Add support for new TLS export ciphersuites. 1999-02-21 20:03:24 +00:00
s2_enc.c Updates to the new SSL compression code 1999-02-16 09:22:21 +00:00
s2_lib.c Undo a couple of kludges. 1999-02-21 20:07:41 +00:00
s2_meth.c Fix various stuff: that VC++ 5.0 chokes on: 1999-01-31 17:30:18 +00:00
s2_pkt.c More prototypes. 1999-01-16 17:28:15 +00:00
s2_srvr.c Add support for new TLS export ciphersuites. 1999-02-21 20:03:24 +00:00
s3_both.c Fix various memory leaks in SSL, apps and DSA 1999-02-15 21:05:21 +00:00
s3_clnt.c Add support for new TLS export ciphersuites. 1999-02-21 20:03:24 +00:00
s3_enc.c Add support for new TLS export ciphersuites. 1999-02-21 20:03:24 +00:00
s3_lib.c Add a bunch of SSL_xxx() functions for configuring the temporary RSA and DH 1999-02-25 14:40:29 +00:00
s3_meth.c Fix various stuff: that VC++ 5.0 chokes on: 1999-01-31 17:30:18 +00:00
s3_pkt.c Updates to the new SSL compression code 1999-02-16 09:22:21 +00:00
s3_srvr.c More stuff for new TLS ciphersuites. 1999-02-21 21:58:59 +00:00
s23_clnt.c Updates to the new SSL compression code 1999-02-16 09:22:21 +00:00
s23_lib.c Fix various stuff: that VC++ 5.0 chokes on: 1999-01-31 17:30:18 +00:00
s23_meth.c Fix various stuff: that VC++ 5.0 chokes on: 1999-01-31 17:30:18 +00:00
s23_pkt.c Updates to the new SSL compression code 1999-02-16 09:22:21 +00:00
s23_srvr.c Add support for new TLS export ciphersuites. 1999-02-21 20:03:24 +00:00
ssl2.h Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
ssl3.h Updates to the new SSL compression code 1999-02-16 09:22:21 +00:00
ssl23.h Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
ssl_algs.c Updates to the new SSL compression code 1999-02-16 09:22:21 +00:00
ssl_asn1.c Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
ssl_cert.c Add a bunch of SSL_xxx() functions for configuring the temporary RSA and DH 1999-02-25 14:40:29 +00:00
ssl_ciph.c Various changes to make this stuff compile under Win32 and VC++ with and 1999-02-22 01:26:40 +00:00
ssl_err2.c Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
ssl_err.c Add a bunch of SSL_xxx() functions for configuring the temporary RSA and DH 1999-02-25 14:40:29 +00:00
ssl_lib.c Add a bunch of SSL_xxx() functions for configuring the temporary RSA and DH 1999-02-25 14:40:29 +00:00
ssl_locl.h Add a bunch of SSL_xxx() functions for configuring the temporary RSA and DH 1999-02-25 14:40:29 +00:00
ssl_rsa.c Add a bunch of SSL_xxx() functions for configuring the temporary RSA and DH 1999-02-25 14:40:29 +00:00
ssl_sess.c Add support for new TLS export ciphersuites. 1999-02-21 20:03:24 +00:00
ssl_stat.c Incorporation of RSEs assembled patches 1998-12-22 15:59:57 +00:00
ssl_task.c Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
ssl_txt.c Updates to the new SSL compression code 1999-02-16 09:22:21 +00:00
ssl.c Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
ssl.err Add a bunch of SSL_xxx() functions for configuring the temporary RSA and DH 1999-02-25 14:40:29 +00:00
ssl.h Add a bunch of SSL_xxx() functions for configuring the temporary RSA and DH 1999-02-25 14:40:29 +00:00
ssltest.c More stuff for new TLS ciphersuites. 1999-02-21 21:58:59 +00:00
t1_clnt.c Fix various stuff: that VC++ 5.0 chokes on: 1999-01-31 17:30:18 +00:00
t1_enc.c Add support for new TLS export ciphersuites. 1999-02-21 20:03:24 +00:00
t1_lib.c Fix version stuff: 1998-12-31 09:36:40 +00:00
t1_meth.c Fix various stuff: that VC++ 5.0 chokes on: 1999-01-31 17:30:18 +00:00
t1_srvr.c Fix various stuff: that VC++ 5.0 chokes on: 1999-01-31 17:30:18 +00:00
tls1.h Add support for new TLS export ciphersuites. 1999-02-21 20:03:24 +00:00