openssl/ssl
Geoff Thorpe dc644fe229 This change allows a callback to be used to override the generation of
SSL/TLS session IDs in a server. According to RFC2246, the session ID is an
arbitrary value chosen by the server. It can be useful to have some control
over this "arbitrary value" so as to choose it in ways that can aid in
things like external session caching and balancing (eg. clustering). The
default session ID generation is to fill the ID with random data.

The callback used by default is built in to ssl_sess.c, but registering a
callback in an SSL_CTX or in a particular SSL overrides this. BTW: SSL
callbacks will override SSL_CTX callbacks, and a new SSL structure inherits
any callback set in its 'parent' SSL_CTX. The header comments describe how
this mechanism ticks, and source code comments describe (hopefully) why it
ticks the way it does.

Man pages are on the way ...

[NB: Lutz was also hacking away and helping me to figure out how best to do
this.]
2001-02-21 18:06:26 +00:00
..
.cvsignore Ignore Makefile.save 1999-04-29 16:04:54 +00:00
bio_ssl.c Make non blocking I/O work for accept BIOs. 2000-10-12 01:50:33 +00:00
install.com Update VMS build procedures to match the current status. 2000-12-28 22:26:11 +00:00
kssl.c DEC C on VMS is pedantic by definition. 2001-02-20 13:06:55 +00:00
kssl.h Make all configuration macros available for application by making 2001-02-19 16:06:34 +00:00
Makefile.ssl 'make update' 2001-02-21 17:43:52 +00:00
s2_clnt.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
s2_enc.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
s2_lib.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
s2_meth.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
s2_pkt.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
s2_srvr.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
s3_both.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
s3_clnt.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
s3_enc.c There have been a number of complaints from a number of sources that names 2000-06-01 22:19:21 +00:00
s3_lib.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
s3_meth.c Remove NOPROTO definitions and error code comments. 1999-04-26 16:43:10 +00:00
s3_pkt.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
s3_srvr.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
s23_clnt.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
s23_lib.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
s23_meth.c Remove NOPROTO definitions and error code comments. 1999-04-26 16:43:10 +00:00
s23_pkt.c Fix server behaviour when facing backwards-compatible client hellos. 1999-09-03 16:33:11 +00:00
s23_srvr.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
ssl2.h Make all configuration macros available for application by making 2001-02-19 16:06:34 +00:00
ssl3.h Make all configuration macros available for application by making 2001-02-19 16:06:34 +00:00
ssl23.h Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
ssl_algs.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
ssl_asn1.c There have been a number of complaints from a number of sources that names 2000-06-01 22:19:21 +00:00
ssl_cert.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
ssl_ciph.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
ssl_err2.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
ssl_err.c This change allows a callback to be used to override the generation of 2001-02-21 18:06:26 +00:00
ssl_lib.c This change allows a callback to be used to override the generation of 2001-02-21 18:06:26 +00:00
ssl_locl.h Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
ssl_rsa.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
ssl_sess.c This change allows a callback to be used to override the generation of 2001-02-21 18:06:26 +00:00
ssl_stat.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
ssl_task.c Rename SSLeay_add_all_algorithms() et al to 2000-02-04 14:01:38 +00:00
ssl_txt.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
ssl-lib.com Let VMS catch up. 2001-02-20 13:10:14 +00:00
ssl.h This change allows a callback to be used to override the generation of 2001-02-21 18:06:26 +00:00
ssltest.c Use new-style system-id macros everywhere possible. I hope I haven't 2001-02-20 08:13:47 +00:00
t1_clnt.c Remove NOPROTO definitions and error code comments. 1999-04-26 16:43:10 +00:00
t1_enc.c First tentative impementation of Kerberos 5 cryptos and keys for SSL/TLS. Implemented by Vern Staats <staatsvr@asc.hpc.mil>, further hacked and distributed by Jeffrey Altman <jaltnab@columbia.edu> 2000-11-30 22:53:34 +00:00
t1_lib.c Move the registration of callback functions to special functions 2000-02-20 23:43:02 +00:00
t1_meth.c Remove NOPROTO definitions and error code comments. 1999-04-26 16:43:10 +00:00
t1_srvr.c Remove NOPROTO definitions and error code comments. 1999-04-26 16:43:10 +00:00
tls1.h Fix AES code. 2001-02-07 18:15:18 +00:00