Thank you very much, I don't know the use of the function SSL_set_app_data and SSL_get_app_data.
This method is better for me because I am implementing a server that manage the SSL_SESSIONS externaly with threads, and in the threads I use this technique (To pass the this pointer to the callback fucntions of the threads), but I don't know how I could do with OpenSSL. Also thank you very much Ahmad Hassan for you idea. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]