[Help-gnutls] gnutls_certificate_client_set_retrieve_function() and application "cookies"

Rainer Gerhards rgerhards at gmail.com
Mon May 26 22:39:03 CEST 2008


excellent, many thanks. This was exactly what I was looking for. It
looks like I can finally finish the initial full implementation of the
most recent syslog tls Internet draft.

Thanks a lot again for all your help.

Rainer
On Mon, May 26, 2008 at 10:27 PM, Nikos Mavrogiannopoulos
<n.mavrogiannopoulos at gmail.com> wrote:
> Check gnutls_session_set_ptr() and gnutls_session_get_ptr().
>
> On Mon, May 26, 2008 at 7:42 PM, Rainer Gerhards <rgerhards at gmail.com> wrote:
>> Hi,
>>
>> me again ;) I have (potentially) different certificate stores for
>> different sessions. I do not (yet) have a readily accessible list of
>> session identifiers. Is there any way to pass a void* pointer to
>> GnuTLS that will be passed back to me when the callback is called? I
>> see that there is no direct way to do it, but can I store this pointer
>> e.g. somehow inside the GnuTLS session data structure?
>>
>> If I am not able to do that, I need to go long (and inefficient!) ways
>> to look up my session information based on the GnuTLS session handle I
>> receive. I hope I can avoid this.
>>
>> Feedback is deeply appreciated.
>>
>> Thanks,
>> Rainer
>>
>>
>> _______________________________________________
>> Help-gnutls mailing list
>> Help-gnutls at gnu.org
>> http://lists.gnu.org/mailman/listinfo/help-gnutls
>>
>





More information about the Gnutls-help mailing list