On Wed, Aug 15, 2001 at 12:02:54AM -0000, ganesh kumar godavari wrote:
> i am writting a minimal concurrent ssl server, i am
> planning to use external session caching for this.
> i am using the the following hooks.
>
> SSL_CTX_sess_set_remove_cb(ctx, cb)
> void call_back(SSL_CTX,SSL_SESSION)
>
> i am calling the callback functions before opening the
> connection. i am getting the following
> * Warning: assignment from incompatible pointer type *
>
> i looked for information in docs on openssl website, and
> also on ssleay.txt(comes with source though obsolete) but
> i could not find information.
man SSL_CTX_sess_set_get_cb.
The warning may arise, when the interface for the callback function does
not match the definition, which is:
void (*remove_session_cb)(struct ssl_ctx_st *ctx, SSL_SESSION *sess);
> i want to test if the hook is called perfectly or not.
> can anyone tell me a way to delete the session
> information from openssl internal cache?
man SSL_CTX_add_session.
Best regards,
Lutz
--
Lutz Jaenicke [EMAIL PROTECTED]
BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]