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
Hello,
Thanks, i had a working class already with the list of class objects but i
think i maybe switching to this more easy method.
Regards,
Ahmad.
From: Goetz Babin-Ebell [EMAIL PROTECTED]
Reply-To: openssl-users@openssl.org
To: openssl-users@openssl.org
Subject: Re: Callback function in c
Hello,
I am implementing an object model for secure communications and secure
sessions gestor.
I am using the openSSL library for this task. My problem is when I
define the callback functions for external SSL sessions, the callback
functions cannot methods of a class if these are not static, but
compared and found the exact class. you can also
define a map(std::mapSSL*, CSSLClass).
Regards,
Ahmad.
From: Tyler Durden [EMAIL PROTECTED]
Reply-To: openssl-users@openssl.org
To: openssl-users@openssl.org
Subject: Callback function in c++ methods
Date: Wed, 11 May 2005 13:23:04 +0200
Hello,
I am
ahmad hassan wrote:
Hello,
Hello Ahmad,
I have also defined an object model and the workaround to this problem
is like this.
I made a static list of class pointers, thus whenever an object is
formed it is put into that list.
Now in the callback i had the ssl pointe (SSL*) with me and every class