On Thu, Mar 15, 2007 at 01:37:41AM +0100, Vladislav Marinov wrote: > > 2) This is the server side part: > static int s_server_session_id_context = 1; > SSL_CTX_set_session_id_context(tls_info -> ctx, > (void *)&s_server_session_id_context, > sizeof(s_server_session_id_context)); > > SSL_set_session_id_context(tls_info -> ssl, > (void *)&s_server_session_id_context, > sizeof(s_server_session_id_context)); >
You don't show much context for this code, it is difficult to tell when these calls are being made, but generally it is better to define the session id context in the SSL_CTX, not once per connection, via SSL_CTX_set_session_id_context() -- Viktor. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]