On Fri, Aug 24, 2001 at 01:31:07PM -0700, Zhong Chen wrote: > I need to reuse the session in ssl client side, I plan to do following: > 1. store a database of destinataion host name versus session id (use > LHASH) > 2. retrieve the session id when user make a new connection based on host > name, then call "SSL_set_session" before "SSL_connect" > Is it going to work? Or there is openssl API already available? There is no API available. On the first glance, it seems to make sense. I am not completely sure about the reference count, but it should be ok, as the count is incremented by 1 when SSL_set_session() is used... 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]