"Roger Bod�n" <[EMAIL PROTECTED]>:
> I've noticed that the session re-use doesn't work if I turn on
> client authentication in my SSL server, [...] A full SSL negotiation
> is performed each time my client connects. If I turn off client
> authentication the session cache works as intended.
You have to set a "session ID context" for your SSL object so that the
library knows which sessions belong in the same authorization class.
The test in ssl_sess.c (function ssl_get_prev_session) is a little
more paranoid than is usually necessary -- if the SSL_CTX-internal
cache is used, usually one wouldn't really have to care about these,
as the SSL_CTX is enough of a context then.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]