On Sun, Nov 18, 2001 at 05:29:31PM -0500, [EMAIL PROTECTED] wrote: > In http://www.openssl.org/docs/ssl/SSL_get_session.html#, > "If the data is to be kept, SSL_get1_session() will increment the reference count >and the > session will stay in memory until explicitly freed with SSL_SESSION_free(3), >regardless of its state." > > But as stated in http://www.openssl.org/docs/ssl/SSL_SESSION_free.html#, > a single call of SSL_SESSION_free() does NOT free the session obtained with >SSL_get1_session. > In order to free it, SSL_SESSION_free() must be called until the the reference count >has reached 0.
Thanks, I have rephrased the corresponding paragraph. 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 Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]